Skip to content

Instantly share code, notes, and snippets.

@dck-jp
Created December 28, 2013 12:53
Show Gist options
  • Select an option

  • Save dck-jp/8159222 to your computer and use it in GitHub Desktop.

Select an option

Save dck-jp/8159222 to your computer and use it in GitHub Desktop.
robocopy sample bat file w/ logging
set src="F:\Pictures"
set dest="Z:\Pictures"
set logFile="log.txt"
robocopy %src% %dest% /MIR /R:0 /NP /FFT /LOG:%logFile%
set src="F:\Music"
set dest="Z:\Music"
set logFile="log2.txt"
robocopy %src% %dest% /MIR /R:0 /NP /FFT /LOG:%logFile%
shutdown.exe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment