Opened 12 years ago
Last modified 8 years ago
#9939 closed defect
VBoxManage guestcontrol exec path issue — at Initial Version
Reported by: | Chris Scott | Owned by: | |
---|---|---|---|
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"