Search found 2 matches

by cvau89
09 Oct 2018 07:13
Forum: DOS Batch Forum
Topic: For while loop or just a goto statement
Replies: 5
Views: 6526

Re: For while loop or just a goto statement

I think I understand - now what's the syntax for renaming the files using the variable counter?

i.e.

ren file.txt file+%%n+.txt ? (lol I'm laughing because I hope that was not incredibly wrong!)
by cvau89
05 Oct 2018 10:03
Forum: DOS Batch Forum
Topic: For while loop or just a goto statement
Replies: 5
Views: 6526

For while loop or just a goto statement

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...