Workflow generates an error when executed through the Automated Scheduler. Seems like the error is coming from the Run Command Tool.

There used to be a warning message being thrown by the bat file regarding AWS CLI, but I was able to address that already. Problem still persisted, despite that.
Here are the contents of the bat file:
cd\
cd program files\amazon\awscliv2
aws s3 ls s3:// [AWS Bucket] > [Destination Text File Path] --profile [Profile] --ca-bundle "C:\Program Files\Amazon\AWSCLIV2\botocore\cacert.pem"
Here's a screenshot of the bat file, working perfectly

I only used pause to get a proper screenshot.
Here's a copy of the workflow, executing without a glitch, when run manually.
