batch.scripts icon indicating copy to clipboard operation
batch.scripts copied to clipboard

how do you replace multiple strings with replacer.bat ?

Open maravento opened this issue 3 years ago • 0 comments

Is there a way to replace multiple strings with a loop using replacer.bat?

call replacer.bat "content.txt" "foo" "bar" "xyz abc" "bla fart"
call replacer.bat "content.txt" "foo\bar" "xyz\abc" "bla\fart"

These commands don't work, the help isn't very helpful, and executing a command for each replacement is not something very optimized

maravento avatar Oct 29 '22 21:10 maravento