VirtualBox

Ticket #10710 (new defect)

Opened 22 months ago

VBoxManage guestcontrol copyfrom requires unix-style slash in pathname for windows guest

Reported by: matpe Owned by:
Priority: minor Component: guest control
Version: VirtualBox 4.1.16 Keywords:
Cc: Guest type: Windows
Host type: Linux

Description

Running a Linux (Gentoo) host with a Windows XP guest the following command fails:

$ VBoxManage guestcontrol Winxpguest copyfrom "C:\\windows\\system32\\ipconfig.exe" /tmp/foo --username "Administrator" --password "secret" --verbose
Copying from guest to host ...
Directory "/tmp" already exists
Source: C:\windows\system32\ipconfig.exe
VBoxManage: error: Unable to translate path for "C:\windows\system32\ipconfig.exe", rc=VERR_INVALID_PARAMETER
VBoxManage: error: Error processing "C:\windows\system32\ipconfig.exe", rc=VERR_INVALID_PARAMETER
$

but changing to use unix-style slash in pathname works:

$ VBoxManage guestcontrol Winxpguest copyfrom "C:/windows/system32/ipconfig.exe" /tmp/foo --username "Administrator" --password "secret" --verbose
Copying from guest to host ...
Directory "/tmp" already exists
Source: C:/windows/system32/ipconfig.exe
Copying "C:/windows/system32/ipconfig.exe" to "/tmp/foo" ...
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%

It would be nice if this was mentioned in the manual and in the error message. Or maybe it is mentioned somewhere else that I did miss?

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use