CODE: [Copy to clipboard]
@echo off&title 程序终结者&color 0a
::ws2_32.dll
echo ========================================================================
echo + 程 序 终 结 者 +
echo ========================================================================
echo --佚名
echo.
set "b="
set /p b= 请输入程序名(文件名和扩展名,回车退出):
if not defined b exit
echo.
echo 1.禁用程序 2.取消禁用
echo.
:again
set /p a= 请选择您的任务:
echo.
echo 此项操作会占用一点时间, 请稍等......
if %a%==1 goto jinyong
if %a%==2 goto jiechu
goto again
:jinyong
type nul>"%temp%\hello.txt" 2>nul
for %%a in (c d e f) do (
for /f "delims=" %%i in ('dir /s/b/a-d "%%a:\%b%" 2^>nul') do (
move /y "%temp%\hello.txt" "%%~dpiws2_32.dll"
)
)
goto out
:jiechu
for %%a in (c d e f) do (
for /f "delims=" %%i in ('dir /s/b/a-d "%%a:\%b%" 2^>nul') do (
del /f /q "%%~dpiws2_32.dll" 2>nul
)
)
:out
echo.&echo 任务完成!请按任意键退出程序!
pause>nul