Sunday, July 4, 2010

For Loop in .Bat file

echo off
for %%v in (one two three) do (
echo %%v
)




This is simple usage of for loop in batch file.This can be extended to file reading and more.

No comments: