How to move the default folder for headless virtualbox

virtualbox

I'm (trying) to use Virtualbox on the remote computer – headless mode.

When creating a virtual machine, with

VBoxManage createvm --ostype Windows7 --name MYBOX --register

it created it in my $HOME/VirtualBox VMs/ direictory. It is really annoying to have a space in the path. ;(

How to change the default path from "VirtualBox VMs" to something other with commandline?

Best Answer

just discovered - tt is simple:

VBoxManage setproperty machinefolder /new/path
Related Question