I have a backup script that works great in the foreground but is failing when 
run as a scheduled task…

Script is :

rmdir /S /Q e:\day5
move /y e:\day4 e:\day5
move /y e:\day3 e:\day4
move /y e:\day2 e:\day3
move /y e:\day1 e:\day2
mkdir e:\day1

xcopy o:\ e:\day1\labeltraxx /E /Y /I /Z
xcopy p:\reports e:\day1\sage\reports /E /Y /I
xcopy q:\ e:\day1\sage\data /E /Y /I
xcopy z:\lm e:\day1\lm /E /Y /I
date /T > e:\datefile.txt
time /T > e:\timefile.txt



O, p & q are external shares on other servers whilst z is a local drive

The first 3 xcopy commands are not working but the local on is…. So it’s 
something to do with the networked drives that is OK in the foreground..

Any suggestions?

Cheers in advance

Adam.


--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/d06c1811.2b611%[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to