Hi Lani,
This is often caused by the Account that the task is scheduled to run under, does not have full access to the Site Collection.
If you run the Batch file manually in Windows Scheduler, does it run?
If it does not run, can you check the Permissions of the acount and ensure it has full permissions to the Site Collection.
Regards,
- Peter
Peter Doyle
BrightWork