/SAVE:jobname Saves the current command line arguments to the named job file. This is one
of the easiest ways to create a job file for use with the /JOB command line switch.
/QUIT Quits after processing command line so that you can view any arguments. This is a way
to test jobs without actually performing the tasks that the jobs request.
376 CHAPTER 14 WORKING WITH DATA
/NOSD Specifies that you haven??™t defined a source directory in the job file. RoboCopy uses the
current directory.
/NODD Specifies that you haven??™t defined a destination directory in the job file. RoboCopy uses
the current directory.
/IF Includes external files as part of the current job. This feature lets you concatenate multiple
jobs together and perform them as a unit.
Replacing Existing Files with the Replace Utility
The Replace utility replaces a file in a destination folder with a file from a source folder. You can use
it to copy files in a source folder to a destination without worrying and all of the usual warnings
that Windows provides. The utility can also place unique files from the source folder into a destination
folder. This utility uses the following syntax:
REPLACE [drive1:][path1]filename [drive2:][path2] [/A] [/P] [/R] [/W]
REPLACE [drive1:][path1]filename [drive2:][path2] [/P] [/R] [/S] [/W] [/U]
An Overview of RoboCopy File Classes
RoboCopy classifies files in several ways to make handling specific file conditions easier.
Pages:
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892