创建vbs脚本放到开机启动目录:

set ws=createobject("wscript.shell")
ws.run """C:\Program Files (x86)\VMware\VMware Workstation\vmrun.exe"" start ""d:\Virtual Machine\Vmware VMs\Windows 10 x64\Windows 10 x64.vmx"" nogui",0
wscript.quit

Windows10开机启动目录位于:

%appdata%\Microsoft\Windows\Start Menu\Programs\Startup

转载于:http://ju.outofmemory.cn/entry/340687

05-11 04:04