Map drives fails when script runs as a task

  • Thread starter Thread starter peasanna
  • Start date Start date
P

peasanna

I have a script that maps a drive to a remote machine and
gets some parameters of a file. The script works when
executed from the command prompt. However, it fails when
scheduled as a Taskmanager job. The script is running
under a user with Administrative rights. Can someone
please give me any workarounds ???
 
peasanna,

1) Make sure that you have env variables properly.
2) I guess there will be folder from which you will run
the scripts,
just make sure that you have set that properly.


Hth,
 
Back
Top