So here's where it is now:
I can create the batch file.
The batch file runs perfectly when I run it from the command line.
When I run
and echo back the output, it just echos the command line inside the batch file but the command doesn't execute. I know this because the .vbs file the batch file is executing logs what it's doing and it doesn't log anything when exec() runs (and it logs everything when I manually run the batch file from the command line).
Why does it just echo back the contents of the batch file without executing it?