Hi,
I have a batch file (.bat file) that runs on a scheduled task every day.
The batch file runs a sql script using sqlcomd, this part works file.
After that the batch file deletes some files on a NAS backup drive and copies some new files to the NAS drive, however this part never runs when the .bat file is run through the scheduled task.
If I run the .bat file manually by just typing it's name into a dos console it all runs fine.
So it would seem like a permissions issue, but :
- The schedules task is set to run under the Administer user account (the same account I am logged into on the machine when I run the batch file manually).
- The "Do not store password. This task will only have access to local resources" box is NOT TICKED.
So I have no idea what to do to give the scheduled task even more permissions...