VirtualBox 开机自启动虚拟机
- 开启
@echo off
D:\VirtualBox\VBoxManage.exe -q startvm "UBUNTU" --type headless
rem pause
- 关闭
@echo off
D:\VirtualBox\VBoxManage.exe controlvm "UBUNTU" poweroff
rem pause
@echo off
D:\VirtualBox\VBoxManage.exe -q startvm "UBUNTU" --type headless
rem pause
@echo off
D:\VirtualBox\VBoxManage.exe controlvm "UBUNTU" poweroff
rem pause