1.

Solve : Variables in For Loops (And If statements)?

Answer»

It seems Variables I declare within a FOR loops (or if statements) are getting FORGOTTEN about RIGHT away. The %%A of the FOR head works fine throughout the loop but a simple

SET TEST=%%A

will vanish...

Any idea why?Please show your script.He's deleted his acoount; I expect he found out about DELAYED expansion.



Discussion

No Comment Found