View Single Post
  #7  
Old 02-26-2008, 11:11 AM
ericp ericp is online now
Registered User
 
Join Date: 06-07-2006
Posts: 17
From testing here, the command from the CMD Line would be something like:

vmrun -gu <username> -gp <password> runProgramInGuest <path to vmx> <command> <command arguments>

From what I've seen (and this is in v6.4), i can't find a way of added the -gu and -gp options just after the vmrun portion of the command (as seen by using the "Log Command Line used").

And when I try to "Override the EXE", I get:

"c:\program files\VMware\VMware Workstation\vmrun.exe -gu user -gp qwerty" as the command line...which errors out, since the -gu/gp are included as part of the executable, which is no good.

It'd work if it was:
"c:\program files\VMware\VMware Workstation\vmrun.exe" -gu user -gp qwerty (note, the quotes are excluding the -gp/-gu portions.

So, sebainones, unless Kinook can supply with the solution, I think your best bet would be to use a "Run Program" action to execute your command in the VM.

Hope this helps.

eric.
Reply With Quote