Ok, here is my problem.
I have one text file called test.txt. Inside test.txt is a lot of data but only one string that starts with@ followed by a random number. The number changes with each version of test.txt
I need a batch file to read through test.txt, find the number behind the @, then copy another file file (call it new.txt) out of a different folder and reame it so it adds the number to its file name.
So in the above example, I would search test.txt, find the number 471, copy new.txt from folder c:\abc to folder d:\xyz and rename new.txt to 471new.txt
Oh and yes, batch file is really the only option. Thanks in advance!