I'm trying to back up some virtual machines with a .bat script, and this should be simple, right?
Here's a chunk of the script:
echo off
vmware-cmd "c:\virtual machines\dev\dev.vmx" -q stop
copy "c:\virtual machines\dev\"* x:\
So, the vmware-cmd executes, the vm shuts down, and I get shutdown() =1 at the command line, and the bat halts without further comment. Never makes it to the copy. So, I tried making that vmware-cmd line a separate bat file of its own that is called from within the main one - thinking that if the child bat exits, it'll just resume execution of the parent. Nope, it stops all batch execution cold.
Why?