Solved

Robocopy command line

Posted on 2016-11-02
6
49 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Using dates in 'DOS' batch files has always been tricky as it has no built in ways of extracting date information.  There are many tricks using string manipulation to pull out parts of the %date% variable or output of the date /t command but these r…
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…

932 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now