jellydeal
asked on
How to Access a network drive from 2008 server task scheduler
HI,
I have some VB .exe's running on a 2008 server. They copy files between the local server and a mapped network drive. The problem is the Map does not seem to exist when Im logged off and the scheduler runs the task.
Is there a way I can make the MAP available to these scheduled tasks?
Currently I have the maps created by the administrator account.
Thanks!
Baz
I have some VB .exe's running on a 2008 server. They copy files between the local server and a mapped network drive. The problem is the Map does not seem to exist when Im logged off and the scheduler runs the task.
Is there a way I can make the MAP available to these scheduled tasks?
Currently I have the maps created by the administrator account.
Thanks!
Baz
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Worked Great, mapping the drive in VB itself! Thanks
if you're only running EXE files, then you'll need to create a batch file like this:
net use x: \\server\share
net use y: \\server2\share2
start whatever.exe
then schedule the batch file to run whenever you want
(where x and y are whatever drives you want to use, and server/server2 share/share2 are whatever path the mapped drive should have)