Batch Language Reference (For)
Windows Command Lines
Other Command Line Utilities
For <variable> In (<set>) Do <command> [<command-parameters>]
variable = preceded by a percent sign (%), this specifies a replaceable parameter
set = specifies a set of one or more files (wildcards are valid)
command = the command to carry out for each file
command-parameters = any parameters you wish to pass to command
Runs a specified command for each file in a set of files
Have a correction, addition or suggestion on this? Please let us know!
Last Edited: 6/7/2004. This page has been viewed 2988 times. Unless otherwise specified, all information is (C) 2004-2007 iTripoli, Inc. All Rights Reserved.
Type "For /?" at the command line for lots more detail