Search found 1 match

by gprashcom
19 Aug 2008 03:27
Forum: DOS Batch Forum
Topic: nested For Loop
Replies: 1
Views: 16276

nested For Loop

Hiya, I am stuck with a nested for loop and variable assignement, I am trying to do the following :- SET /a COUNT=1 IF 2 NEQ 0 ( FOR /L %%G IN (1,1,2) DO ( REM ECHO %%G ECHO %COUNT% FOR /F "tokens= %COUNT%-2delims=$" %%A IN ("AAA$BBB%") DO ( ECHO %%A set /a COUNT+=1 ECHO %COUNT% ...