You could place this within a loop that reads each line and places the matched folder name in $matchedfolder. The /y just keeps a overwrite confirmation box from popping up. If you would like to be warned before overwriting files remove /y.$defaultdir = 'C:\Foo\'; # Directory containing original folders $destinationdir = 'C:\Bar\'; # Directory to copy folders to system "move /y $defaultdir/$matchedfolder $destinationdir";
In reply to Re: Moving folders
by goober99
in thread Moving folders
by bobdole
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |