Quantcast
Channel: VMware Communities : Popular Discussions - VIX API
Viewing all articles
Browse latest Browse all 34639

Problem with VixVM_RunProgramInGuest

$
0
0

 

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

 

 


Viewing all articles
Browse latest Browse all 34639

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>