I can't speak for the VisualCron guys, but mapped drives are part of a user's interactive profile. While it is possible to have a windows service use them, Microsoft's guidance states that you shouldn't, and (i think, don't quote me) it is an unsupported operation, so automation system really shouldn't allow it, even if they can/could.
You can probably use a batch script loaded with specific credentials and loaded with profile to get the UNC path from a mapped drive, put it in a variable, and use that throughout the job. Make sure VisualCron's service is setup to logon interactive (the default). Use at your own risk.
Btw, even though you have your setup all working with mapped drives... generally for failover, a simpler solution that doesn't depend on stuff like mapped drives is to simply point an alternate A record to your server holding the shared drive. In the event of a crash, you just change the A record to point to the backup and all is good and you can still use UNC paths. Works flawlessly except for the fact you need to configure the server to accept connection from alternate names.
We have to do that here because we have countless scripts and systems that require access to shared folders and stuff, and our server and server names get rotated a little too frequently for comfort, and VisualCron is far from being the only system that will not easily use mapped drives.
Edited by user
2011-04-28T22:36:23Z
|
Reason: Not specified