Rem 注销清屏
CLS
Rem 格式
COLOR 0A
rem 启动微信、虚拟机、录屏
start D:"\Program Files (x86)\Tencent\WeChat\WeChat.exe"
TITLE VMware Windows 10 x64Game
rem 启动微信
start D:"\Program Files (x86)\Tencent\WeChat\WeChat.exe"
rem 备份虚拟机
e:
set "Ymd=%date:~,4%%date:~5,2%%date:~8,2%"
md %ymd%
rem 开始备份 xcopy表示备份目录copy备份文件
cd e:\%ymd%
md "Windows 10 x64"
xcopy /S /Y /D D:\Win10U盘\虚拟机\"Windows 10 x64" e:\%ymd%\"Windows 10 x64"
cd e:\%ymd%
md LinuxU盘
xcopy /S /Y /D D:\LinuxU盘 e:\%ymd%\"LinuxU盘"
cd e:\%ymd%
md "Windows 10 x64Game"
xcopy /S /Y C:\Win10U盘\虚拟机\"Windows 10 x64Game" e:\%ymd%\"Windows 10 x64Game"
rem 启动虚拟机
d:
cd D:\Program Files (x86)\VMware\VMware Workstation
timeout /T 15 /NOBREAK
rem vmrun -T ws start "C:\Win10U盘\虚拟机\Windows 10 x64Game\Windows 10 x64Game.vmx"
vmrun -T ws start "D:\Win10U盘\虚拟机\Windows 10 x64\Windows 10 x64.vmx"
pause
---------------------------20210221---------------------------------------------------------------
rem CLS 注销清屏
Rem COLOR 0A
rem 启动微信、虚拟机、录屏
rem start D:"\Program Files (x86)\Tencent\WeChat\WeChat.exe"<