Foreach
-------
Lets you perform the same command with different arguments.
For example:
- compress all .txt files into its own archive
foreach #?.txt lha m &< &
- rename all .lzh files to .lha:
foreach #?.lzh rename &<.lzh &<.lha
- make two backups of all files
foreach {bak1,bak2} copy #? df0:&
and much more...
Requirements:
Workbench 2.0
I promise: you can't live without it in the future !
Have fun!
|