troubleshooting Question

Backup a Local Directory to the Network Using a BAT File

Avatar of daskas27
daskas27Flag for United States of America asked on
Microsoft DOSWindows Batch
10 Comments1 Solution139 ViewsLast Modified:
Hello,
      I am trying, (like heck), to create a bat file to backup some files. The files are located at C:\Users\Public\Public Documents\zeiss\calypso\workarea\inspections. The “inspections” directory has many floders and subfolders and I want them all to backup to the specified directory when I run this bat file. I have tried everything I could think of but I either get an invalid path error, or a cannot find file error, etc. What do I need to do to get this?
Here is my current bat file syntax:
xcopy "C:\Users\Public\Public Documents\zeiss\calypso\workarea\inspections" /s /c /d /e /h /i /r /y \\dc1\data\BEPAC_CMM\Zeiss_1\  

Thank you
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 10 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 10 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros