Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: XCOPY - How do I display error messages?


19 Mar 2012   #1

Windows 7 Professional x64
 
 
XCOPY - How do I display error messages?

I use XCOPY to automatically backup my files.
I use the following switches:
/C - Ignore errors
/Q - Copy quiet
I would like to see a report of any error XCOPY encounters while copying, but I have not been able to figure out how to do this.
Does anyone know if there is a way to make XCOPY provide error detail even while using above switches?

My System SpecsSystem Spec
.

19 Mar 2012   #2

Microsoft Community Contributor Award Recipient

Windows 7 Ult. x64 Windows 8.1 x64 Ubuntu 12.04 LTS Tri-Boot
 
 

Hi and welcome to SevenForums,

XCOPY doesn't really contain switches for error reports - any errors would simply show up in the cmd window.

Longer term, you may want to consider using something like ROBOCOPY, which is more robust and offers better reporting and mirroring (shorten backup time significantly) capability:

Type
Code:
robocopy /?
at a command prompt, or try this tutorial:

ROBOCOPY - Create Backup Script

Regards,
Golden
My System SpecsSystem Spec
19 Mar 2012   #3

Windows 7 Professional x64
 
 
Thank you so much for your response

I will definitely take a look at robocopy - never even heard of it prior.
My System SpecsSystem Spec
.


19 Mar 2012   #4

Microsoft Community Contributor Award Recipient

Windows 7 SP1, Home Premium, 64-bit
 
 

Here is a post from member PParks on how he uses robocopy. I think this is verbatim from him:

"All you have to do is create a .bat file on your hard drive. Put the following syntax into the file

C:\windows\system32\robocopy D:\data I:\backups\data /E /MIR
C:\windows\system32\robocopy D:\music I:\backups\music /E /MIR
C:\windows\system32\robocopy D:\movies I:\backups\movies /E /MIR
C:\windows\system32\robocopy D:\pix I:\backups\pix /E /MIR

The /E includes directories that are empty
The /MIR tells it to mirror the source and the destination. Hence, if you delete the file from D:\data, it will remove it from the I:\backups\data folder as well.

robocopy only gets changes...so the first run takes awhile, and subsequent runs are fast..as it's only files which have changed."
My System SpecsSystem Spec
19 Mar 2012   #5

Microsoft Community Contributor Award Recipient

Windows 7 Ult. x64 Windows 8.1 x64 Ubuntu 12.04 LTS Tri-Boot
 
 

The various swicthes are covered in that tutorial, but heed the warning about the /MIR switch.

Post back if anything is unclear in that tutorial and I'll explain it. If you would like some help setting up a custom .BAT file with the robocopy commands, just let me know.

Regards,
Golden
My System SpecsSystem Spec
19 Mar 2012   #6

Windows 7 Professional x64
 
 

Wow - thanks so much for your responses.
I guess my next step is to find an appropriate profile picture to match my ignorance
My System SpecsSystem Spec
19 Mar 2012   #7

Microsoft Community Contributor Award Recipient

Windows 7 Ult. x64 Windows 8.1 x64 Ubuntu 12.04 LTS Tri-Boot
 
 

Hey, no problem - we were all ignorant at some point

Post back here (or directly in the tutorial) if you need any further help, I'll be more than happy to assist.

Regards,
Golden
My System SpecsSystem Spec
Reply

 XCOPY - How do I display error messages?




Thread Tools



Similar help and support threads for2: XCOPY - How do I display error messages?
Thread Forum
script error messages General Discussion
Want XCOPY, not ROBOCOPY! File creation error Backup and Restore
Helo to send all fax messages without getting any error messages? Network & Sharing
Display and Machine Randomly freezes (No error messages or BSOD) General Discussion
Can't Display Recent Messages in Word 2010 Microsoft Office
How many error messages do you get each day? General Discussion
three error messages Windows Updates & Activation

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 03:04 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33