Using FOR to perform an operation on a file collection
1 March 2002 by Snakefoot | Comment » | Trackback OffThe FOR command allows one to specify a file wildcard (*.txt) and what operation to perform on each file that matches the wildcard (type).
When using the FOR loop directly from the command prompt:
More Info MS KB Q68268
More Info MS KB Q75634
More Info MS KB Q134572
When using the FOR loop directly from the command prompt:
When using FOR inside af batch file:FOR %f IN (*.txt) DO type %f
Related Create your own file find utility using FORFOR %%f IN (*.txt) DO type %%f
More Info MS KB Q68268
More Info MS KB Q75634
More Info MS KB Q134572
Updated: 23 September 2007