command prompt interface for find & Replace
Posted: Thu Jun 02, 2011 3:25 pm
I need to edit a file on the fly within a batch file to find and replace text at a command line prompt. Can this be done in TextPad and how?
Here is what I am looking to do:
For Example:
Change.bat:
third_party code.exe outfile.txt
textpad /open=outfile.txt /replace="ncc=1701d","NCC-1701D" /save = outfile.txt
Here is what I am looking to do:
For Example:
Change.bat:
third_party code.exe outfile.txt
textpad /open=outfile.txt /replace="ncc=1701d","NCC-1701D" /save = outfile.txt