An Avanade Blogging Community

Welcome to An Avanade Blogging Community Sign in | Join | Help
in Search

Geek.Speak()

Robocopy Cheatsheet

These days I find myself downloading really big files frequently – often on slow and latent networks.  There are a few tools out there – namely robocopy – to aid in this task.  After googling for the correct robocopy command line syntax 3 times in the last 2 weeks, I decided it’s time for a cheatsheet blog post.

robocopy.exe
If you don’t have the Windows Server 2003 Resource Kit Tools installed, then you don’t have ROBOCOPY installed.  Download and install first

command line syntax (with restarts)
"C:\Program Files\Windows Resource Kits\Tools\robocopy.exe" "\\<server>\<share>\\" "<localdir>\\" “filename" "filename" "filename" /LOG+:C:\robocopy.log  /Z  /V 

The above syntax will give you a resilient download that can handle network latency.  Don’t forget the double backslash around the Source and Destination.  robocopy will escape the strings and not behave how you’d like without them.

Published Sunday, January 01, 2006 6:33 PM by kellyb
Filed Under:

Comments

No Comments
Anonymous comments are disabled

This Blog

Post Calendar

<January 2006>
SuMoTuWeThFrSa
25262728293031
1234567
891011121314
15161718192021
22232425262728
2930311234

News

The posts on this weblog are provided "as is" with no warranties and confer no rights. The opinions expressed herin are the personal opinions of the individual authors and do not represent the views of Avanade in any way.

Syndication