I got a batch file that will run a c++ program and output to a file with \">\" redirection. This file is to be run by task scheduler.
I found out that when the batch fil
For those who can't write file into the relative path.
Try go to property of the task.
property
> action
> edit your action
.
Change the "Start in" to your EXE working path.
There may be quite a few reasons of it, first check below points:
Check whether the user who has scheduled batch script to run in Task scheduler has admin access on the system or not.
Give that user full Share/NTFS permissions on the "RedirectedFolders" and all of the sub folders as well.you can manually propagate all permissions down to the folders.
The user should have read and write permissions along with full control to the "RedirectedFolders" .