I am trying to run VixVM_RunProgramInGuest() with a Windows environment variable.
jobHandle = VixVM_RunProgramInGuest(vmHandle,
%ComSpec%, // command
C:
test.bat, // cmd args
OPTIONS, // options
VIX_INVALID_HANDLE, // prop handle
NULL, // callback
NULL);
The connection to the VM passes but it can't run %ComSpec%.
failed to run program in virtual machine '[data] new_windows_vm/new_windows_vm.vmx'(4 A file was not found)
My pass is connected to host (1048638)
about to open new_windows_vm/new_windows_vm.vmx
Why can't it interrupt the Windows environment variable?
thanks
-h