Skip to content

Instantly share code, notes, and snippets.

@Eldar7
Created June 6, 2017 14:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Eldar7/33e3e7cf9ec101fd7fbc2f4272a6e006 to your computer and use it in GitHub Desktop.
Save Eldar7/33e3e7cf9ec101fd7fbc2f4272a6e006 to your computer and use it in GitHub Desktop.
@echo off
set FILEPATH="dir\2"
powershell -command "write-host 'hello from powershell' -fore green"
powershell -command "(Get-Content %FILEPATH%\123.txt) -replace 'DEFAULT_','%1_'">%FILEPATH%\1231.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment