1st of all, not a Windows person
Tasked with backing up a SQL dump to a backup device that presents itself as a network drive
The mapped drive needs to be mapped prior to the backup and unmounted after; the mount command is a proprietary command invoking a proprietary technology, so native "map a drive" isn't an option;
I wrote a .BAT file that does the mapping but the service reports "Executed as user: NT Service\SQLSERVERAGENT bla bla bla xxxx is not recognized as an internal or external command, operable program or batch file" Exit code 1"
I figure the exe isn't in the PATH of the service; Can I add that somewhere without adding to the ENV variables for the entire system?
TIA
-Thomas
Tasked with backing up a SQL dump to a backup device that presents itself as a network drive
The mapped drive needs to be mapped prior to the backup and unmounted after; the mount command is a proprietary command invoking a proprietary technology, so native "map a drive" isn't an option;
I wrote a .BAT file that does the mapping but the service reports "Executed as user: NT Service\SQLSERVERAGENT bla bla bla xxxx is not recognized as an internal or external command, operable program or batch file" Exit code 1"
I figure the exe isn't in the PATH of the service; Can I add that somewhere without adding to the ENV variables for the entire system?
TIA
-Thomas