Announcement

Collapse
No announcement yet.

shell operations

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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.


    Comment

    Working...
    X
    😀
    🥰
    🤢
    😎
    😡
    👍
    👎