I have a batch file that has a the string test.txt file inside..
I want to within another batch file open this batch file up and change all instances of the test.txt to 1234.txt etc. I need a bit of user interaction i.e to add the number that will replace the "test"
Is there anyway to do this? I know that I can use the find to get the string but where do I go from here. I am using DOS 6.2 and cannot add anything else to the machine so it needs to work in a batch file.
Any ideas how I can replace this?
many thanks in advance.
Points are high as I need this quite quickly.