In addition,
RoboCopy is forgiving in that it provides retry options to ensure a copy process has the best possible
chance to succeed. This command uses the following command line syntax:
ROBOCOPY Source Destination [File [File]...] [Copy Options] [File Selection
Options] [Logging Options] [Retry Options] [Job Options]
WARNING The command line switches for RoboCopy aren??™t the same as the command line
switches for XCopy. Consequently, you can??™t perform a simple search and replace in your batch
or script files to use RoboCopy; you must completely rewrite the command.
The copying options define how RoboCopy performs copying tasks. For example, you might want
to include all of the folders in the copied location, even those that are empty, so you??™d use the /E
command line switch. The following list describes each of the copy command line arguments.
/S Copies all files in the current directory, plus all subdirectories and their files except empty
subdirectories. You can??™t use this command line switch to create an empty directory structure
for a user or application; use the /E command line switch instead.
PERFORMING ROBUST FILE TRANSFERS WITH THE ROBOCOPY COMMAND 371
/E Copies all files in the current directory, plus all subdirectories and their files including
empty subdirectories.
Pages:
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880