4

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?

2 Answers 2

14

just discovered - tt is simple:

VBoxManage setproperty machinefolder /new/path
0

You can also try to use mklink /J junction for folders on another drive, that might solve your problem but first you should move "VirtualBox VMs" to another drive and then create a link to that directory.

Example:

mklink /J "%HOMEPATH%/VirtualBox VMs/" "%SOME_DRIVE%\%YOUR_MOVED_VMs_FOLDER%"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.