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

