Welcome to MSDN Blogs Sign in | Join | Help

June 2005 - Posts

For, Part 1

Continuing from last time . The usage for the basic for loop looks like: FOR %variable IN (set) DO command [command-parameters] %variable Specifies a single letter replaceable parameter. (set) Specifies a set of one or more files. Wildcards may be used.

The for Command

I stated earlier that the command prompt can be a very powerful scripting shell. Much of this power comes from the "for" command. Let's look into it more closely. First, the text of "help for" on my Windows XP SP2 machine: Runs a specified command for

About Me

My name is Jeremy Morton; I have been working at Microsoft for nearly 7 years [for nearly 2 years as a contractor, and as an employee for the last 5]. Currently, I am an SDET [Software Design Engineer in Test] for an internal server product, but most
 
Page view tracker