Page 1 of 1

VBoxManage guestcontrol execute produces blank cmd window

Posted: 25. Oct 2010, 15:27
by local-girl
Hi there,

I am doing a bit of a hello world script to try and launch a batch file in windows 7 from ubuntu (with hope to do something more fancy in the future). The command I am using is:

Code: Select all

VBoxManage guestcontrol execute "Windows 7" "cmd.exe" --username local-girl --password foobar --arg "/K" --arg "C:\Users\local-girl\Documents\scripts\ps5.bat"
I have been looking into this for what seems like FOREVER and all i get is a blank CMD window every time. my ps5.bat script just echos hello world for now. If I execute my batch file through Run it works fine

Please help!!

Thanks,

LG