Solved

RoboCopy command

Posted on 2015-01-07
6
114 Views
Last Modified: 2015-01-07
I have a directory on a server \\server\folder\folder\folder\folder and I want to copy that folder to Y:\folder
I'm trying to use robocopy I'm doing the following:
robocopy \\server\folder\folder\folder\folder Y:\folder /E /S /ZB /Copyall /TEE

Is this correct?
0
Comment
Question by:WellingtonIS
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 34

Accepted Solution

by:
Paul MacDonald earned 500 total points
ID: 40535677
The /E and /S switches are mutually exclusive.   Use one or the other, but not both.  The /COPYALL switch is redundant with either /E or /S so it's not needed at all.

This will probably do just fine:
robocopy \\server\folder\folder\folder\folder Y:\folder /E /ZB /TEE
0
 

Author Comment

by:WellingtonIS
ID: 40535682
thanks.  This won't deleted anything right?
0
 
LVL 34

Expert Comment

by:Paul MacDonald
ID: 40535704
It may over-write something on the destination, if that file already exists there.  It won't delete anything from the source.
0
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 

Author Comment

by:WellingtonIS
ID: 40535712
OK thanks I'll try this and see what happens
0
 

Author Closing Comment

by:WellingtonIS
ID: 40535769
Thanks!
0
 
LVL 34

Expert Comment

by:Paul MacDonald
ID: 40536236
Happy to help!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Group Policy & Netlogin Services 5 61
Microsoft Office Customization Tool’s Outlook problem 12 97
Questions about DHCP migration 5 118
DNS/WINS in a domain 10 88
I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that. In this Article I'll show how to deploy printers automatically with group policy and then using security fil…
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

739 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