Let me explain what I want to do...
I am trying to make a DOS-only batch file that will edit a variable in a text file , the variable depends on the location of the .bat file...
so for example if I have:
c:\test\varedit.bat
it would open a file , look for a predefined string like %EDITME% and change it to C:\TEST\
I know I can get to a dos variable the current .bat file location with %~dp0 , but how to make %~dp0 replace the %EDITME% string in my file?
any pointers would be highly appreciated!
