Ticket #9939 (closed defect: obsolete)

Opened 8 years ago

Last modified 3 years ago

VBoxManage guestcontrol exec path issue

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

Description (last modified by aeichner) (diff)

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"

Change History

comment:1 Changed 3 years ago by aeichner

  • Status changed from new to closed
  • Resolution set to obsolete
  • Description modified (diff)

Please reopen if still relevant with a recent VirtualBox release.

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use