Results 1 to 4 of 4

Thread: command line option in robocopy question

  1. #1
    Join Date
    Jul 2006

    command line option in robocopy question

    Can anyone tell me what do the robocopy scripts command line options means which are given below? What is the difference in these lines that I found in the BAT Files on the web server?

    robocopy c:\ \\servername\F$\WEB2\ /e /xo /R:0 /W:0 /LOG:C:\backuplog.txt /NP

    robocopy c:\ \\servername\myfolder\WEB2\ /mir /R:0 /W:0 /LOG:C:\backuplog2.txt /NP
    Signatures reduce available bandwidth

  2. #2
    Join Date
    Dec 2007

    Re: command line option in robocopy question

    Robocopy, or "Robust File Copy", is a command-line directory replication command. It was available as part of the Windows Resource Kit, and introduced as a standard feature of Windows Vista and Windows Server 2008.

    Robocopy is designed for reliable mirroring of directories or directory trees. It has features to ensure all NTFS attributes and properties are copied, and includes additional restart code for network connections subject to disruption.

    For more information visit this site:

  3. #3
    Join Date
    Jun 2006

    Re: command line option in robocopy question

    This link explains the switches, also robocopy /? from the command line lists the switches.

    /E : Copy Subfolders, including Empty Subfolders
    /XO : eXclude Older - if destination file exists and is the same date or newer than the source - don't bother to overwrite it.

    /R:n : number of Retries on failed copies - default is 1 million.
    /W:n : Wait time between retries - default is 30 seconds.

    /NP : No Progress - don't display % copied.

    /MIR : MIRror a directory tree - equivalent to /PURGE plus all subfolders (/E)

    /LOG:file : output status to LOG file (overwrite existing log).

    Hope that's what you were looking for.

  4. #4
    Join Date
    Dec 2007

    Re: command line option in robocopy question

    Have a look through the Robocopy documentation which is very comprehensive and is free download.

    Also, I remember that there is a switch for Robocopy that will save settings to registry creating a 'new' default. Perhaps it is reading the other settings /R: and /W: from whats in the registry on your PC.

Similar Threads

  1. Starting Firefox in Fullscreen with command line option?
    By Aleeza in forum Technology & Internet
    Replies: 4
    Last Post: 18-09-2010, 05:13 AM
  2. xcopy command line together with wmplayer command line
    By Aislinn in forum Operating Systems
    Replies: 5
    Last Post: 31-03-2010, 12:13 PM
  3. Replies: 3
    Last Post: 03-09-2009, 05:41 PM
  4. Sql express 2005 setup command line option
    By Holt in forum Software Development
    Replies: 3
    Last Post: 13-07-2009, 12:46 PM
  5. Replies: 3
    Last Post: 18-05-2009, 08:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts