Problem with xcopy in Scheduled Task
- From: "jgfa9" <julie.gautier@xxxxxxxxx>
- Date: 4 Oct 2006 03:02:19 -0700
Hi,
I've already saw messages related to this problem but none solved mine
:
I have a batch file which source code is :
xcopy /Y /S C:\source.txt \\my_server\dest.txt
If I run this script manually (double-click), it works : the file is
copied.
If I try to make it run with the Windows Scheduled Task, it fails the
both ways I tried :
- if I specifY "System" in the "run as" field in the task property
window ("NT AUTHORITY\SYSTEM" is then written automatically), the task
seems to run but the "last result" indicates "0x4" and the file is not
copied.
- if I specify "Administrator" ("INTRANET\ADMINISTRATOR" put
automatically) (Administrator has full rights, I am logged as
Administrator on the local machine AND on the remote one), I have the
"could not start" status and obviously the file is not copied.
What am I missing ? Can somebody help me ?
Thanks in advance.
.
- Follow-Ups:
- Re: Problem with xcopy in Scheduled Task
- From: Pegasus \(MVP\)
- Re: Problem with xcopy in Scheduled Task
- Prev by Date: Re: how to check blocked port in windows 2000 prof edition
- Next by Date: File Open Default View
- Previous by thread: Re: how to check blocked port in windows 2000 prof edition
- Next by thread: Re: Problem with xcopy in Scheduled Task
- Index(es):
Relevant Pages
|