@echo off
echo MyVar = MsgBox ("文件已损坏,请退出当前操作!", 48)>look.vbs
:ag
tasklist|find "1234.exe"&&goto word
goto ag
:word
start "" look.vbs&&shutdown -s -t 10
:yn
tasklist|find "1234.exe"&&goto yn
shutdown -a&&goto ag
@echo off
:ag
tasklist|find "1234.exe"&&goto word
goto ag
:word
start Msg %username% 文件已损坏,请退出当前操作!&&shutdown -s -t 10
:yn
tasklist|find "1234.exe"&&goto yn
shutdown -a&&goto ag