Page 1 of 1

Open a virutal machine from console

Posted: 3. Feb 2015, 16:08
by fereres
I want to use automatically using a .bat file my virtual machine. The first step is to open virutalboc.exe using a bat file. How is it possible to parse as an input the name of the virtual machine in order to run the virual machine? My bat file right now is the following:

Code: Select all

cd C:\Program Files\Oracle\VirtualBox\
VirtualBox.exe

Re: Open a virutal machine from console

Posted: 3. Feb 2015, 16:45
by mpack
See "VBoxManage startvm", in section 8.12 of the user manual.