How can a text file be edited from a Windows batch file?
- by Thai
I am trying to make a .bat file to edit the redirect of index.asp to the filename of the file selected.
I know how to replace the file:
@echo OFF
del/q D:\e-lib\index.asp
copy %1 D:\e-lib\index.asp
but not how to edit the contents.