Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2000
    Posts
    2

    shell operations

    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.


  2. #2
    Join Date
    Jan 2000
    Location
    Indigo Rose Corporation
    Posts
    204

    Re: shell operations

    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.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts