Otherwise, N specifies a date in the format YYYYMMDD /minlad: Specifies the minimum last access date (excludes files used since N) If N is less than 1900, N specifies the number of days./maxlad: Specifies the maximum last access date (excludes files unused since N).
#2 Copy all content including empty directory To copy contents of C:\UserFolder to C:\FolderBackup: Robocopy C:\UserFolder C:\FolderBackup **Skip to the end of this document for more information on Robocopy Options and Switches .Įxamples of Microsoft's Robocopy Syntax #1 Simple copy If the File parameter is not specified, *.* is used as the default value. You can use wildcard characters (* or ?), if you want. Robocopy Syntax ROBOCOPY Source Directory (local or network path) Destination Directory (local or network path) and Specifies the file or files to be copied.