Open a virutal machine from console

Discussions related to using VirtualBox on Windows hosts.
Post Reply
fereres
Posts: 1
Joined: 3. Feb 2015, 16:05

Open a virutal machine from console

Post 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
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Open a virutal machine from console

Post by mpack »

See "VBoxManage startvm", in section 8.12 of the user manual.
Post Reply