Solved itŠ the shared drives are not persistent in scheduled tasks and
have to be recreated each time via net use..



On 21/10/2014 14:02, "Adam Buckland" <[email protected]> wrote:

>
>
>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
>---
>
[excessive quoting removed by server]

_______________________________________________
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/d06c1bb2.2b619%[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