VirtualBox

Opened 13 years ago

Last modified 8 years ago

#8501 closed defect

VBoxManage guestcontrol execute passes program arguments incorrectly — at Initial Version

Reported by: odyniec Owned by:
Component: guest control Version: VirtualBox 4.0.4
Keywords: Cc:
Guest type: other Host type: other

Description

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

Change History (0)

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use