Ticket #8501 (closed defect: obsolete)
VBoxManage guestcontrol execute passes program arguments incorrectly
|Reported by:||odyniec||Owned by:|
Description (last modified by aeichner) (diff)
I've been using VBoxManage to start Internet Explorer on a guest Windows XP and pass an argument (the website URL), e.g.:
VBoxManage guestcontrol execute "VM Name" "C:\Program Files\Internet Explorer\iexplore.exe" --username "xxx" --password "xxx" --arguments "http://google.com/"
After a recent VB update, it stopped working -- the argument was no longer passed to IE. I found this issue reported here: #8010, and it's said to have been fixed in Guest Additions 4.0.2, but it appears it's still broken. With Guest Additions updated to 4.0.4, when I use the above command, Internet Explorer starts with the URL: http://files/Internet%20Explorer/iexplore.exe%20http://google.com/.
So it appears that everything following the first space character in the program path ("C:\Program Files\Internet Explorer\iexplore.exe") is passed as program arguments.
This has also been reported by another user in the forums: http://forums.virtualbox.org/viewtopic.php?f=2&t=39628&start=0
- Status changed from closed to reopened
- Resolution fixed deleted