Search found 3 matches

by ganon64
09 Feb 2012 19:19
Forum: DOS Batch Forum
Topic: Running two For loops Simultaneously (not one after another)
Replies: 7
Views: 7953

Re: Running two For loops Simultaneously (not one after anot

I managed to get the desired output through a very tedious script (see below). It involved kind of cheating and using the Skip parameter of the 2nd For loop to remember where it got to previously. My original plans for this proof of concept were that I was going to use it to change registry keys tha...
by ganon64
09 Feb 2012 17:46
Forum: DOS Batch Forum
Topic: Running two For loops Simultaneously (not one after another)
Replies: 7
Views: 7953

Re: Running two For loops Simultaneously (not one after anot

Thank you for your help Squashman. I've amended it in regards to your suggestions but it still produces the same output =(. I also tried nested For loops but I am not hugely familiar with them and so the output resulted in it running the 2nd 'For loop' multiple times per %w iteration. Is there anywa...
by ganon64
09 Feb 2012 17:09
Forum: DOS Batch Forum
Topic: Running two For loops Simultaneously (not one after another)
Replies: 7
Views: 7953

Running two For loops Simultaneously (not one after another)

Hi, I currently have the following code that I'm using for testing a proof of concept. Basically at the moment whilst the %w variable will cycle through it's possible values per loop, the %f value will not and always shows only the first possible value. Hence the output from this script is just Hi <...