PDA

View Full Version : shell operations


jbeahan
02-23-2000, 08:57 PM
How do I copy a entire directory to a backup directory. Basicl I need to do a xcopy not a copy. This is what have tried.

Operation: Copy

Source: %AppDir%\*; %AppDir%\*.*

Destination: %AppDir%\Backup


The above operation copies only the files. I need to copy all of the folders aswell.

Support
02-24-2000, 10:30 AM
The Setup Factory file operation commands do not support recursive actions. You would therefore have to create a new command for each directory:

Delete %AppDir%\dir1\dir2\*.*
Remove Directory %AppDir%\dir1\dir2
Delete %AppDir%\dir1\*.*
Remove Directory %AppDir%\dir1
Delete %AppDir%\*.*

.. I'm sure you get the point.