You can find a description of the new RoboCopy utility in the ???Performing Robust File
Transfers with the RoboCopy Command??? section of the chapter.
source Specifies which files to copy. You can use wildcard characters to define the file specification.
See the ???Working with Wildcard Characters??? sidebar for details. The file specification
can also include a drive and absolute or relative path.
destination Specifies the destination for the files. When working with a single file, you can
also specify a new filename for the file.
/A Copies only the files with the archive attribute set. Copying the files doesn??™t change the
attribute status, so you need to use the Attrib utility (described in the ???Changing File and Directory
Attributes with the Attrib Utility??? section of Chapter 15) to change the archive bit. Some
people use this particular feature to create a simple, but effective, backup utility. They send any
changed files to a hard drive on another machine, and then clear the archive attribute. As an
alternative, if you know the copying methodology works without flaw, you can use the /M
command line switch.
/M Copies only the files with the archive attribute set.
Pages:
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915