If Command Extensions are enabled, the following additional forms of the FOR command are supported: FOR /D %%variable IN (set) DO command [command-parameters] If set contains wildcards, then specifies to match against directory names instead of file names. FOR /R [[drive:]path] %%variable IN (set) DO command [command-parameters] Walks the directory tree rooted at [drive:]path, executing the FOR statement in each directory of the tree. If no directory specification is specified after /R then the current directory is assumed. If set is just a single period (.) character then it will just enumerate the directory tree. FOR /L %%variable IN (start,step,end) DO command [command-parameters] The set is a sequence of numbers from start to end, by step amount. So (1,1,5) would generate the sequence 1 2 3 4 5 and (5,-1,1) would generate the sequence (5 4 3 2 1) FOR /F ["options"] %%variable IN (file-set) DO command [command-parameters] FOR /F ["options"] %%variable IN ("string") DO command [command-parameters] FOR /F ["options"] %%variable IN ('command') DO command [command-parameters] or, if usebackq option present: FOR /F ["options"] %%variable IN (file-set) DO command [command-parameters] FOR /F ["options"] %%variable IN ('string') DO command [command-parameters] FOR /F ["options"] %%variable IN (`command`) DO command [command-parameters] filenameset is one or more file names. Each file is opened, read and processed before going on to the next file in filenameset. Processing consists of reading in the file, breaking it up into individual lines of text and then parsing each line into zero or more tokens. The body of the for loop is then called with the variable value(s) set to the found token string(s). By default, /F passes the first blank separated token from each line of each file. Blank lines are skipped. You can override the default parsing behavior by specifying the optional "options" parameter. This is a quoted string which contains one or more keywords to specify different parsing options. The keywords are:
If Command Extensions are enabled the SHIFT command supports the /n switch which tells the command to start shifting at the ...
If Command Extensions are enabled the TIME command supports the /T switch which tells the command to just output the current ...
If Command Extensions are enabled, and running on the Windows platform, then the BREAK command will enter a hard coded breakpoint ...
If Command Extensions are enabled, external command invocation through the command line or the START command changes as follows: ...
If Command Extensions are enabled, the following additional forms of the FOR command are supported: FOR /D %variable IN (set) ...
If Command Extensions are enabled, then there are several dynamic environment variables that can be expanded but which don't ...
If conditions and constraints of the network policy match the connection request, the policy can either grant access or deny ...
If data is not available or the data is not updated daily in the System Stability Report, ask your system administrator to ...
If drive redirection is enabled for the remote program or remote desktop that you are accessing, you will be able to access ...