Act on a set of files at the Windows command prompt

shine_on

Well-known member
If you've got to perform an action on a bunch of files at the command line, you want to master the for statement. The Daily Cup of Tech web site explains how the command

for /R %z in (*.zip) do unzip "%z"

Iterates through all the zip archives in a folder and extracts them. If you're starting to get your feet wet automating tasks with batch scripts, this is a nice for primer.

link
 

Beliebte Schlagwörter

Du verwendest einen veralteten Browser. Es ist möglich, dass diese oder andere Websites nicht korrekt angezeigt werden.
Du solltest ein Upgrade durchführen oder einen alternativen Browser verwenden.

Zurück
Oben Unten