Search This Blog

Wednesday, August 21, 2013

Windows - register VirtualBox VBox machine in a single *.bat file from *.vbox file in the current working directory folder

To register VirtualBox machine in a single *.bat file from *.vbox file in the current working directory folder on Windows use the following commands:

"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" registervm %~dp0\MonoSuse.vbox
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" registervm %cd%\MonoSuse.vbox

No comments:

Post a Comment

If you like this post, please leave a comment :)