Collections:
Other Resources:
"for" - Loop on List of Files
What is the "for" batch command for?
✍: FYIcenter.com
The "for" command is for running a given command for each item
in a list of files, path names, or any values.
Below is the "for" command syntax:
for %%parameter in (list) do command
When the "for" command is executed, the given command will be executed once for each item in the given list. The selected item will be assigned to the given parameter, if you want to process it in the given command.
Here is an example on how to use the "for" command to display contents of all *.log and *.txt files:
FOR %%p IN (*.log *.txt) DO TYPE %%p
⇒ "shift" - Shift Batch Parameters
2022-04-13, ∼3265🔥, 0💬
Popular Posts:
A collection of 18 tutorials on Mozilla FireFox 2 covering: How to download and install Mozilla Fire...
Can I disable Windows service "Intel NCS NetService" to speedup my computer? Windows service "Intel ...
How to configure your system for DSL Internet connection? Once your DSL modem is connected to your s...
product key for adding features to windows 8 The product key you require is MBFBV-W3DP2-2MVKN-PJCQD- ...
What is the file extension .IFO on a DVD-Video disc? .IFO is the file extension used on a DVD-Video ...