如题,运行后闪退
start regedit.exe
timeout /t 1
FOR /F "usebackq delims=" %%i in ('taskkill /f /im regedit.exe') do set a=%%i
set a=%a:~0,2%
if "%a%"=="成功"
start taskmgr.exe
:a
set /p c=请在这里输入y确定
if not %c%==y (echo 请输入y确认
goto :a)
start regedit.exe
timeout /t 1
for /f "eol=;delims=" %%i in ('taskkill /f /im regedit.exe') do set a=%%i
set a=%a:~0,2%
if not %a%==成功 (echo 请再试一次
goto :a)
taskkill /f /im Taskmgr.exe
echo 开始杀毒
del /f C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\Themes\*.exe
goto :b
:b
echo 杀毒完成
pause
exit
start regedit.exe
timeout /t 1
FOR /F "delims=" %%i in ('taskkill /f /im regedit.exe') do set a=%%i
set a=%a:~0,2%
if "%a%"=="成功" start taskmgr.exe
:a
set /p c=请在这里输入y确定
if not %c%==y (echo 请输入y确认
goto :a)
start regedit.exe
timeout /t 1
for /f "delims=" %%i in ('taskkill /f /im regedit.exe') do set a=%%i
set a=%a:~0,2%
if not %a%=="成功" (echo 请再试一次 goto :a)
taskkill /f /im Taskmgr.exe
echo 开始杀毒
del /f C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\Themes\*.exe
goto :b