Batch Language Reference (For)

[ KiXtart  VBScript  Batch  AutoIt  HTA  PowerShell  Windows Command Lines  Other Command Line Utilities  ]


For  (Internal)

Syntax
For <variable> In (<set>) Do <command> [<command-parameters>]

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

Description
Runs a specified command for each file in a set of files

Remarks
Type "For /?" at the command line for lots more detail


 
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.



iTripoli prides itself on providing top notch customer service

Find answers or open a ticket to ask directly, when opening a ticket we will suggest relavant articles to help you get answers as quickly and accurately as possible. Visit our support center now!

Please visit our full support center to find answers quickly or submit questions or feedback.