VBoxManage guestcontrol execute produces blank cmd window

Discussions about using Windows guests in VirtualBox.
Post Reply
local-girl
Posts: 5
Joined: 1. May 2009, 17:03
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Windows 7

VBoxManage guestcontrol execute produces blank cmd window

Post 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
Post Reply