VirtualBox

Ticket #9939 (new defect)

Opened 2 years ago

VBoxManage guestcontrol exec path issue

Reported by: cscott25 Owned by:
Priority: minor Component: guest control
Version: VirtualBox 4.1.6 Keywords: VBoxManage GuestContrl exec
Cc: Guest type: Windows
Host type: Windows

Description

When using the following command in VBoxManage:

VBoxManage guestcontrol "Machine Name" exec --image "C:\Program Files\Adobe\Reader 9.0\Reader\AcroRd32.exe" --username "User" --password "password" "/s" "/o" "/n" "C:\users\user\desktop\file.pdf"

Or if using any other program with a Long Name in either the directory or executable your first get an error that the application can not open the file requested. If you click on the error then the application will open the file correctly. However, if you install the application in a directory without a long name "8 characters or less and no spaces" then it works perfectly like below:

VBoxManage guestcontrol "Machine Name" exec --image "C:\Adobe\Reader\AcroRd32.exe" --username "User" --password "password" "/s" "/o" "/n" "C:\users\user\desktop\file.pdf"

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use