vbox manage the syntax of the command is incorrect

This is for discussing general topics about how to use VirtualBox.
Post Reply
justinrpg
Posts: 142
Joined: 18. Mar 2011, 00:33
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: XP Ubuntu Fedora LinuxMint Mageia

vbox manage the syntax of the command is incorrect

Post by justinrpg »

I am trying to clone a VM and I am following the instructions in the manual EXACTLY but I keep getting the following error: "The Syntax of the Command is incorrect!!! this is what I am trying to do

Code: Select all

c:\Program Files\Oracle\VirtualBox>vboxmanage.exe clonevm --k:\virtualmachines\m
elody1.vdi <k:\virtualmachines\melody2.vdi>
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: vbox manage the syntax of the command is incorrect

Post by Perryg »

You have added a few things that don't actually belong.

remove the following *red entries in your command.
c:\Program Files\Oracle\VirtualBox>vboxmanage.exe clonevm --k:\virtualmachines\melody1.vdi <k:\virtualmachines\melody2.vdi>
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: vbox manage the syntax of the command is incorrect

Post by Perryg »

Looking at another of your log files it appears that you don't have the absolute path correct either. Your log show k:\Virtual Machines\ and not k:\virtualmachines

The space will force you to wrap the commands in quotes because spaces are not allowed.
justinrpg
Posts: 142
Joined: 18. Mar 2011, 00:33
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: XP Ubuntu Fedora LinuxMint Mageia

Re: vbox manage the syntax of the command is incorrect

Post by justinrpg »

now I get the following error: vboxmanage.exe is not a valid win32 application!
justinrpg
Posts: 142
Joined: 18. Mar 2011, 00:33
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: XP Ubuntu Fedora LinuxMint Mageia

Re: vbox manage the syntax of the command is incorrect

Post by justinrpg »

I see NOBODY is going to help me AGAIN!
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: vbox manage the syntax of the command is incorrect

Post by Perryg »

Why are you trying to use something that you evidently don't understand? Use the VirtualBox main manager (graphical interface) and clone the guest from there.
justinrpg
Posts: 142
Joined: 18. Mar 2011, 00:33
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: XP Ubuntu Fedora LinuxMint Mageia

Re: vbox manage the syntax of the command is incorrect

Post by justinrpg »

I don't need to try to clone it anymore, I was going to clone it to see if it would fix my BSOD problem but I solved it in a different way... I posted the steps on how to fix this... you are free to write a tutorial for it... view my steps here...


viewtopic.php?f=2&t=49930
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: vbox manage the syntax of the command is incorrect

Post by Perryg »

Glad to hear you got it sorted out. I hope you learned a lesson with this. If you have critical data you should always have a backup. (do not use snapshots as a backup)

As for a tutorial this had nothing to do with VirtualBox so none is needed.
Post Reply