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:

Post a Comment

Thanks for commenting in this post to extend the knowledge.It would be great if you comment related to the topics. Please avoid advertisement through comment.