Opened 16 years ago
Closed 16 years ago
#2199 closed defect (fixed)
vboxmanage registervm ... does not look in current directory
Reported by: | Phillip Smith | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 2.0.0 |
Keywords: | vboxmanage registervm VERR_FILE_NOT_FOUND | Cc: | anomaly@… |
Guest type: | other | Host type: | Windows |
Description
When I attempt to import/register an xml file by executing vboxmanage registervm vb-xpp-sp2.xml, it does not look in the current directory for vb-xpp-sp2.xml. It looks for it in my user directory instead. Note pathes from command line and error below.
D:\virtual.machines\virtual.box\hosts\vb-xpp-sp2>vboxmanage registervm vb-xpp-sp2.xml VirtualBox Command Line Management Interface Version 2.0.0 (C) 2005-2008 Sun Microsystems, Inc. All rights reserved.
[!] FAILED calling virtualBox->OpenMachine(Bstr(argv[0]), machine.asOutParam()) at line 3089! [!] Primary RC = E_FAIL (0x80004005) - Unspecified error [!] Full error info present: true , basic error info present: true [!] Result Code = E_FAIL (0x80004005) - Unspecified error [!] Text = Could not lock the settings file 'E:\Documents and Settings\psmith\.VirtualBox\vb-xpp-sp2.xml' (VERR_FILE_NOT_FOUND) [!] Component = Machine, Interface: IMachine, {1e509de4-d96c-4f44-8b94-860194f710ac} [!] Callee = IVirtualBox, {557a07bc-e6ae-4520-a361-4a8493199137}
Should be fixed with release 2.2.0.