Det er brugerrettigheder, der ser ud til at være problemet. Min 2000 kører scheduleren som "localsystem", som ihvertfald ikke kan se nogen som helst netværksdrev. Prøv at ændre servicen, til at logge på som en bruger, der har lov til at skrive på det pågældende drev, og som samtidig er lokal administrator på maskinen.
User Rights needed for the AT command to perform it's task
The User Account under which the Schedule service runs may require specific file access permissions, user permissions and drive mappings.
The User Account is selected under
Control Panel, Services, SCHEDULER, Startup, Logon As...
If you have Internet Explorer 4 or greater the User Account is selected under
SCHEDULED TASKS, Advanced, AT Service Account.
You also need to *stop* and restart the service before the change in UserAccount will take effect.
Don't try to pass more than one command into AT, put everything you want to achieve in one batch file and then just call that batch file from AT.
Here's how to check if a user account has sufficent rights for a particular task:
AT hh:mm /interactive %comspec% /k
Setting hh:mm for one minute from now will open a cmd window at the specified time. In this window you can check the following settings:
The PATH
Environment variables (particularly TEMP).
Drive mappings - you can add these by putting appropriate NET USE... commands at the beginning of your batch file.
Next, go ahead and run your batch file in this console window, note the errors, and fix them. Once the errors have been fixed, you can remove the /interactive switch and schedule the batch file with some confidence that it will work as intended.
Ovenstående er fra:
http://www.ss64.demon.co.uk/nt/at.html