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: Master 
Rating: 77%, 17 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
installation disk wont recognise computer cpu speed

Answer
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; FunWebProducts; GTB6.3;... (More)

Answer
How to get 2 types of chart formulas for one chart ?

Answer
I am trying to figure out how I can prevent the sound of the game from coming out the tv. I just... (More)

Answer
I would like to thank Apprentice for his solution #12!! It was the best and easiest that I found and... (More)


Didn't find what you were looking for?

Describe your Operating Systems problem:


Related Products & Issues:



Ask our Experts

 

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



Top Computer & Laptop Repairmen

(877) 934-6198
Send your laptop to us and we will diagnose the...
A+ Rated Oceanside Computer Sales & Service, LLC

(513) 874-3306
We fix and repair laptop motherboard no video, no...
LaptopOnCall Inc.


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

Insert Link

What is this?



Select


close

Add to My Products

Add the things you own to your My Products collection and get product information, solutions to problems, manuals & guides, tips and how-to's, reviews & ratings and local repair service - all in one easy place.


Step 1: Select a category & subcategory

 
Step 2: Select a product and click on add
I can't find my product

select

close
Success!

Add another product
Close
close
Save This Product

Enter your email address

We will not share your email. Privacy Policy

I agree to the FixYa Terms of Use

    
Send to friends
Send to: (e.g. Julie@email.com)
(Separate email adresses with commas)
Your name:
Your email address:
Message: