VirtualBox

Opened 12 years ago

Closed 8 years ago

#10710 closed defect (obsolete)

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

Reported by: matpe Owned by:
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?

Change History (1)

comment:1 by aeichner, 8 years ago

Resolution: obsolete
Status: newclosed

Please reopen if still relevant with a recent VirtualBox release.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use