VirtualBox

Ticket #14302: VM start loop.bat

File VM start loop.bat, 384 bytes (added by Mihai Hanor, 9 years ago)
Line 
1@echo off
2:start
3cd "C:\Program Files\Oracle\VirtualBox"
4rem cd C:\work_x64\vbox\out\win.amd64\release\bin
5start /MIN /B VirtualBox.exe --startvm test --sup-startup-log="f:\VirtualBox VMs\test\Logs\VBoxStartup.log"
6ping -n 10 127.0.0.1 > nul
7start /MIN /B /WAIT VBoxManage.exe controlvm test poweroff
8choice /C YN /T 10 /D Y /M "Continue?(Y/N)"
9if %errorlevel%==1 goto start

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy