Solved

Robocopy command line

Posted on 2016-11-02
6
72 Views
Last Modified: 2016-11-02
I have been reading robo copy how to and in all this, I need to know the exact command line to robo copy the guys drive to a shared folder. I need all his data. Now I assume this will not copy system files or is there a command to do that as well. One command to copy the entire drive and do not care about empty folders.
0
Comment
Question by:millerdog
  • 3
  • 3
6 Comments
 
LVL 19

Expert Comment

by:*** Hopeleonie ***
ID: 41870061
The command:
robocopy.exe "PATH_DRIVE...." "SHARED_FOLDER...." /E /ZB /R:5 /W:5 /ETA /LOG:"C:\temp\log.txt"

Open in new window

0
 

Author Comment

by:millerdog
ID: 41870073
So the quotation marks are needed?
0
 

Author Comment

by:millerdog
ID: 41870074
What does the log do?
0
Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 19

Accepted Solution

by:
*** Hopeleonie *** earned 500 total points
ID: 41870105
So the quotation marks are needed?
Not necessary but I do include quotation to minimize path errors.

What does the log do?
I create a log every time as an evidence.
0
 

Author Closing Comment

by:millerdog
ID: 41870242
The answer was perfect and to the point. I checked Google first but the answers are long and winded. This answered all I needed to know and thanks.
0
 
LVL 19

Expert Comment

by:*** Hopeleonie ***
ID: 41871532
I was glad to help you. :-)
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

One of my most closely kept secrets is revealed in this discussion How to output text on the same line This question was recently posted in EE by Simon336697 (http://www.experts-exchange.com/Programming/Languages/Scripting/Shell/Batch/Q_2459…
VALIDATING DATES One method of validating dates is to jam the date into the DATE command and see if it accepts it by examining the system's errorlevel value. A non-zero result indicates failure. A typical example might look something like the fol…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question