Microsoft Windows XP Professional for PC
Problem for Microsoft Windows XP Professional for PC

I am working on a scheduled task back up. I am




By nhoy15 on Nov 06, 2009

" "
I am working on a scheduled task back up. I am using a MS Batch file to get it running. It will run fine but it fails giving me a 0x4 error.

The script is as follows:

xcopy n: est_backup*n: est_backup%date:~0,3* /Y /Q /S

I am attempting to point it to the drive where the file is located, get it to back up said file on that drive and it will run but automatically fail. The 0x4 error means that it cannot find the file but I have it saved right there on that drive with that drive letter.

What am I doing wrong?
Comments:

Nov 06, 2009

- By user credentials I am assuming you mean username and password and that. Yes. That is fine. It will run the back up but it gives the 0x4 error.

Nov 06, 2009

- Thank you for the help Holmes. I eventually figured it out. I had it pointing to the wrong spot. I got it running finally and it works.

Clarification Request

Posted by holmes3804 on Nov 06, 2009

When I try it like this, using *.* instead of just *, like so: xcopy n:\est_backup*.* n:\est_backup%date:~0,3* /Y /Q /S I get a "cannot perform cyclic copy" which means it's trying to copying onto itself. I'm not sure exactlly what you're trying do, though. Are you trying to rename files?

Posted by Yorkieboy04 on Nov 06, 2009

Have you put in the user credentials on the task tab settings?

Solution #1

posted on Nov 07, 2009
Not Rated)

sach3000

Rank: Wiz 
Rating: 77%, 13 votes
Try that:
xcopy n:\est_backup n:\est_backup%date% /Y /Q /E /I
Was this helpful?
Yes
No

Popular Solutions for Microsoft Windows XP


Questions and Unsolved Problems for Microsoft Windows XP


Do you recommend Microsoft Windows XP Professional for PC?
Answer

Answer
how can i install abode reader from pendrive to pc, give me tips step by step

Answer
following image problam:C:\DOCUME~1\user\LOCALS~1\Temp\27f2_appcompat.txt

Answer
how to print a tiny label that microsoft labels can't recognize I can't custom the size to print

Answer
recurrent message: resource progress - container empty not found. what does this mean? Thank, Ben

Answer
Two problems. 1st. I can't mail merge from word to excel. Nor can I mail merge from Print shop to... (More)


Didn't find what you were looking for?

Describe your Operating Systems problem:




Ask our Experts

 

Solve Your Problem Now!
Chat Live with an Expert
Chat Now
Top Operating System Experts



Top Computer & Laptop Repairmen
in , PA
(513) 874-3306
We fix and repair laptop motherboard no video, no...
LaptopOnCall Inc.

(952) 890-7770
Zkarlo.com provides discount and used laptop parts...
Zkarlo.com


       
Solve Your Problem Now!
Chat Live with an Expert
Chat Now

Insert Link
Insert Image
Insert You-Tube clip
Insert List
Insert List
Spell Check

What is this?



Select