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-08-13 16:30
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » Several commands and suggestions to be cautious with in DOS View 3,154 Replies 19
Original Poster Posted 2007-04-30 22:31 ·  中国 辽宁 锦州 凌海市 联通
初级用户
Credits 58
Posts 21
Joined 2007-04-10 15:48
19-year member
UID 84637
Gender Male
Status Offline
del *.*    Delete all files in the current directory

[Suggestion] Using del *.* in the root directory of drive C will make the computer unable to find the mouse, CD drive, cannot use Windows, and even cannot boot. In fact, when using this command in any directory, you need to think carefully.


deltree *.*  Delete all directories and files under the current directory

[Suggestion] When using this command in the root directory of drive C, you must ensure that your mind is clear, and you ensure that it is necessary to do so, but we think that you should not use this command in any case. Using deltree *.* in any directory will produce the same or even worse results than del *.*. Be careful! Be careful!

format c:/u   Format drive C

[Suggestion] Unless your hard drive is deeply infected with a virus, or a real computer expert tells you that you should do this, do not format drive C. It will make you lose all information, and you will need to spend several hours reinstalling all software.

 fdisk    Hard disk partitioning

[Suggestion] When partitioning the hard disk, be sure to let someone who has used this command help you use it, otherwise you will lose all information, and even the hard disk cannot be used.

 recover   Overwrite the disk

[Suggestion] This command is no longer available after DOS 6. If you are using an older version of DOS, it is recommended that you do not use it at any time. It has no other function except destroying all information on your hard disk.
Floor 2 Posted 2007-04-30 23:33 ·  中国 广东 深圳 电信
新手上路
Credits 4
Posts 2
Joined 2007-04-29 15:32
19-year member
UID 86910
Gender Male
Status Offline
Thanks to the LZ's reminder~~ This is indeed a very influential command
Floor 3 Posted 2007-05-01 00:19 ·  中国 辽宁 大连 开发区 电信
新手上路
Credits 6
Posts 3
Joined 2007-04-30 23:33
19-year member
UID 87151
Gender Male
Status Offline
Some things are no longer used. The system just doesn't have them.
Floor 4 Posted 2007-05-02 10:40 ·  中国 陕西 西安 电信
新手上路
Credits 4
Posts 2
Joined 2007-05-02 10:04
19-year member
UID 87258
Gender Male
Status Offline
Well, these commands really need to be used with caution.
Floor 5 Posted 2007-05-04 03:21 ·  中国 北京 中国中信股份有限公司
初级用户
Credits 47
Posts 24
Joined 2006-10-22 00:31
19-year member
UID 67599
Gender Male
Status Offline
Got it. Thanks to the楼主
Floor 6 Posted 2007-05-08 18:49 ·  中国 黑龙江 哈尔滨 电信
初级用户
Credits 65
Posts 27
Joined 2006-08-10 16:56
20-year member
UID 60248
Status Offline
These commands are very dangerous, but in some cases, this command is still very useful. For example, to delete files in a certain directory (folder), you need to use the del *.* command. My suggestion is that if you want to learn these commands, it is better to do so in a virtual disk.
Floor 7 Posted 2007-05-08 23:36 ·  中国 甘肃 兰州 永登县 电信
新手上路
Credits 18
Posts 8
Joined 2007-02-26 17:24
19-year member
UID 80237
Gender Male
Status Offline
Thanks for the reminder from the LZ!
Floor 8 Posted 2007-05-09 00:58 ·  中国 上海 浦东新区 电信
新手上路
Credits 4
Posts 1
Joined 2007-05-09 00:00
19-year member
UID 87903
Gender Male
Status Offline
Floor 9 Posted 2007-05-11 17:09 ·  中国 广西 钦州 灵山县 电信
初级用户
Credits 75
Posts 36
Joined 2007-05-11 10:12
19-year member
UID 88144
Gender Male
Status Offline
Thanks from the bottom of my heart!
Floor 10 Posted 2007-05-11 17:59 ·  中国 黑龙江 牡丹江 电信
新手上路
Credits 3
Posts 2
Joined 2007-04-30 09:51
19-year member
UID 87023
Gender Male
Status Offline
Thanks to the LZ for the reminder Got it Hehe
Floor 11 Posted 2007-10-06 01:25 ·  中国 陕西 西安 电信
初级用户
Credits 53
Posts 26
Joined 2007-10-06 00:17
18-year member
UID 98988
Gender Male
Status Offline
Thanks to the LZ's reminder~~ This is indeed a command with strong influence
Floor 12 Posted 2007-10-09 20:28 ·  中国 陕西 西安 电信
初级用户
Credits 53
Posts 26
Joined 2007-10-06 00:17
18-year member
UID 98988
Gender Male
Status Offline
Floor 13 Posted 2007-10-10 13:27 ·  中国 河南 三门峡 义马市 电信
新手上路
Credits 19
Posts 10
Joined 2006-12-26 23:07
19-year member
UID 74639
Gender Male
Status Offline
Learning...
Floor 14 Posted 2007-10-10 17:10 ·  中国 黑龙江 哈尔滨 电信
新手上路
Credits 6
Posts 4
Joined 2007-09-19 09:57
18-year member
UID 97760
Gender Male
Status Offline
Floor 15 Posted 2007-10-11 09:37 ·  中国 江苏 苏州 移动
银牌会员
★★★
Credits 1,608
Posts 780
Joined 2007-10-07 10:19
18-year member
UID 99089
Gender Male
Status Offline
Thanks for the reminder, I'll be careful in the future
Forum Jump: