Oct 25, 2002 #1 Tison Programmer Joined May 12, 1999 Messages 216 Location CH Can I do this ; set LST=A B C D for %%A in (%LST%) do echo "Checking %%A...' if exist %%A echo "Yes" if not exist %%A echo "Not" Is there a line continuation char in NT script ?
Can I do this ; set LST=A B C D for %%A in (%LST%) do echo "Checking %%A...' if exist %%A echo "Yes" if not exist %%A echo "Not" Is there a line continuation char in NT script ?
Oct 27, 2002 #2 djhawthorn Technical User Joined Mar 4, 2002 Messages 641 Location AU Not sure, I'd try it and see. If it doesn't handle multi-line FOR loops, try for %%A in (%LST%) do call somefile.bat and call a batch file that has all the commands in it you want to process. MCSE NT4/W2K Upvote 0 Downvote
Not sure, I'd try it and see. If it doesn't handle multi-line FOR loops, try for %%A in (%LST%) do call somefile.bat and call a batch file that has all the commands in it you want to process. MCSE NT4/W2K