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
pgcohen

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
Golden

Microsoft Community Contributor Award Recipient

Windows 7 Ult. x64
 
 

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
pgcohen

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
ignatzatsonic

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
Golden

Microsoft Community Contributor Award Recipient

Windows 7 Ult. x64
 
 

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
pgcohen

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
Golden

Microsoft Community Contributor Award Recipient

Windows 7 Ult. x64
 
 

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
Thread Forum
Xcopy File Not Found Error
I'm trying to copy my reg back ups to override my current registry. I am doing this in the boot disk cmd. It is telling me File Not Found - RegBack even though I clearly have a folder called it that I am changing my directory to. cd \windows\system32\config\regback xcopy...
Backup and Restore
XCOPY "File not found - *" Error
I have attached a few images. This is a transfer between xp and 7. The My Videos folder does not exist in this instance but the others do and they do have files in them. What is going on here?
General Discussion
Display and Machine Randomly freezes (No error messages or BSOD)
Hello everyone! I am not sure if this is the correct forum for this post, but my issue does deal largely with my display. If so I apologize in advance and ask to be directed to the correct forum. I have searched the boards for similar issues and I have tried their approaches but it has not...
General Discussion
Can't Display Recent Messages in Word 2010
The thread Click the File tab. Under Help, click Options. Click Advanced. Under Display, in the Show this number of Recent Documents list, click the number of files that you want to display. simply does not work. The "Show this number of Recent Documents list" is grayed out and not clickable....
Microsoft Office
How many error messages do you get each day?
I would find it interesting to see how many error messages show up in your event viewer, on average, each day. I can get a lot when I am installing/configuring new hardware or software, and most of my error messages get generated on each start-up. On average when things are running reasonably...
General Discussion
three error messages
Hi Guys, I'm a bit stumped, being to trying to find a solution on the net to no arrival. None of the inbuilt windows fixers have been very helpful. Error messages when updating are; - 80070570 - 570 - 80070130 Frustrating as this computer is only 2 weeks old.
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 21:56.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App