Skip to content

Instantly share code, notes, and snippets.

@Eldar7 Eldar7/batsed.bat

Created Jun 6, 2017
Embed
What would you like to do?
@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
You can’t perform that action at this time.