I've recently started a new job where we run virtualized copies of Windows inside VMWare Fusion (Mac OSX is the host). Among other things, we have a few utility
.bat files that get run regularly. I'd like to be able to run these commands from my host environment.
vmrun is great for this, and I've come up with something like the following:
vmrun -T ws -gu <user> -gp <password> runProgramInGuest <.vmx file> c:\/batch\/hello.bat
This executes the command, but it does so silently. In this case, my
hello.bat contains the classic
echo "hello, world!"
Question: is there a way to capture what is sent to standard output on the Windows console and display it in my host using these commands