I think I understand - now what's the syntax for renaming the files using the variable counter?
ren file.txt file+%%n+.txt ? (lol I'm laughing because I hope that was not incredibly wrong!)
Search found 2 matches
Search found 2 matches • Page 1 of 1
- 05 Oct 2018 10:03
- Forum: DOS Batch Forum
- Topic: For while loop or just a goto statement
- Replies: 5
- Views: 1302
I searched some but couldn't come up with the right key words to find what I'm looking for. I need to repeatedly run a process which creates one file, than another process converts that file to another format. So I believe i need a infinite for while loop where I can just CTR-C break out when I need...