when a batch script needs to use drives not local, eg shares it always needs special rights, means you need to use an account to run the script which is allowed to log on as batch task in secpol
- (click start type secpol.msc and start it - Select "Local Policies" in MSC snap in - Select "User Rights Assignment" - Right click on "Log on as batch job" and select Properties - Click "Add User or Group", and include the relevant user.)
too in normal batch it is not possible to use \\drives
, they have to get mapped as drives with a char e.g. V:\drive
and this mapping got to be made by the batch itself
with the user account used running the batch
i experienced this in a script of mine.