I have the following code which doesn't seem to be working properly - is someone able to assist with how to run command-lines in batch files
@echo off set changeFrom=321 set changeTo=123 set origFile=config.txt set newFile=config1.txt test.bat %changeFrom% %changeTo% %origFile%>%newFile% del %origFile% ren %newFile% %origFile% ::end I have a file "test.bat" which has code to replace strings in a file - but I Don't get how it can work ?