Obviously, tailor it to what you’re doing, but this is my go to list of switches

robocopy "SourceDirectory" "DestinationDirectory" /e /copyall /v /log+:"LogFileLocation.log" 
  • Copies all directories, even empty ones
  • Retains all file and folder information (including permissions)
  • Creates a verbose log file at LogFileLocation to tell you what it did

Leave a Reply

Your email address will not be published.