I have created a schedule task to run the batch file I created in this program and can run it fine in the program with no errors, but when the scheduled task runs, the report comes back with these errors.
Cannot find the following folders:
S:\Shared Folders\General\Users\LAURIE\Backup\Favorites
S:\Shared Folders\General\Users\LAURIE\Backup\Google
S:\Shared Folders\General\Users\LAURIE\Backup\Signatures
___________________________________________
Cannot read file attributes of "S:\".
ERROR_PATH_NOT_FOUND: The system cannot find the path specified. [GetFileAttributes]
Cannot read file attributes of "S:\".
ERROR_PATH_NOT_FOUND: The system cannot find the path specified. [GetFileAttributes]
Cannot read file attributes of "S:\".
ERROR_PATH_NOT_FOUND: The system cannot find the path specified. [GetFileAttributes]
Task Manager error's with ShareFile Sync
- Posts: 1
- Joined: 11 Nov 2020
-
- Posts: 2947
- Joined: 22 Aug 2012
Make sure the scheduled task is run under user credentials of a user that has access to said folders.
You define the user in the Task Scheduler in the General tab of the Properties of each specific task, in the Security Options section.
You define the user in the Task Scheduler in the General tab of the Properties of each specific task, in the Security Options section.