How to run VBoxManage.exe?

Solution 1:

You need to either use the whole path for the command:

"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" list hdds

...or cd to C:\Program Files\Oracle\VirtualBox then:

VBoxManage.exe list hdds

...or you can add add the C:\Program Files\Oracle\VirtualBox directory to your PATH :

PATH=%PATH%;C:\Program Files\Oracle\VirtualBox

...and then you can run VBoxManage from anywhere

Solution 2:

It's a pretty sure bet that running an exe file in Linux won't work. In Windows you do run it from the command prompt. If you get a message about the command not being found then either add the path to the command to your PATH environment variable or specify the full path to the command.

If the command runs but it's not doing what you think it should be doing then read the documentation.


Solution 3:

  1. From the Windows7 start menu go to search programs and files folder.
  2. Type in CMD. Do not press enter.
  3. Right Click on the CMD icon and select copy.
  4. Navigate to c:\"Program Files\Oracle\VirtualBox\
  5. Right click in the window and select paste.

You should now be able to use VboxManage from the CMD window. Try typing in VboxManage /? If you see the help list then your on your way.

Tags:

Virtualbox