scheduler could not map drive

  • Thread starter Thread starter JIM.H.
  • Start date Start date
J

JIM.H.

Hello,
I am using Administrator as the user in the scheduler, a
batch file is mapping a drive and copy some file to local
C: drive. When I run the batch file manually it works fine
but When I get it run under scheduler it seems it could
not map the driver.
How can I do this?
Thanks,
Jim.
 
JIM.H. said:
Hello,
I am using Administrator as the user in the scheduler, a
batch file is mapping a drive and copy some file to local
C: drive. When I run the batch file manually it works fine
but When I get it run under scheduler it seems it could
not map the driver.
How can I do this?
Thanks,
Jim.

Add some diagnostics to your batch file, examine the log files
and all will become clear!

@echo off
echo %date% %time% User=%UserName% > c:\test.log
net use x: \\SomeServer\SomeShare 1>>c:\test.log 2>c:\test.err
 
Back
Top