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-31 16:39
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » Several Dangerous Commands in DOS [Repost] DigestI View 4,704 Replies 3
Original Poster Posted 2003-01-04 00:00 ·  中国 江西 吉安 电信
版主
★★★★
Credits 7,296
Posts 1,628
Joined 2002-10-16 12:00
23-year member
UID 10
Gender Male
Status Offline
Dangerous Commands in DOS

/

--------------------------------------------------------------------------------
Briefly described as follows:
1. FORMAT Disk Formatting Command
Since the FORMAT command can format a used disk, thus deleting all files on the disk, before using this command, you should first use the DIR command to check whether the contents on the disk need to be retained. Also, pay attention to prevent mistakenly formatting the disk due to incorrect command input.
2. DISKCOPY Disk Copy Command
When this command is used for copying, regardless of whether the target disk already contains information, it will uniformly reformat the target disk to the same format as the source disk. Therefore, when using this command, on one hand, you should check whether there are useful files on the target disk, and on the other hand, also prevent mistaking the source disk and the target disk and formatting the source disk. You can protect the source disk by writing before copying.
3. BACKUP Disk Backup Command
Before using this command, if the /A parameter is not used, the original files on the target disk will be deleted. Therefore, before backing up, you should first check whether the contents on the target disk are useful, or use the /A parameter for backup.
4. DEL Delete File Command
Since this command can use wildcards * and? to delete a batch of files, to avoid mistakenly deleting a large number of files, it is recommended to first use the DIR command to check whether the files to be deleted are correct before executing this command.
5. COPY File Copy Command
Since the COPY command will overwrite the original files with the same name on the target disk when copying files, when naming the target file name, you should ensure that it does not have the same name as the original files on the target disk.
ko20010214
=================================
大功告成,打个Kiss!
ko20010214@MSN.com
神州优雅Q300C
Intel CeleronM 370处理器 | 256MbDDR内存
40G硬盘 | USB2.0 | IEEE 1394
13.3 ' WXGA 宽屏(16:10) | COMBO光驱
10/100M网卡 | 四合一读卡器
Floor 2 Posted 2003-01-04 00:00 ·  美国 肯塔基州 费耶特县 列克星敦 Charter_Communications
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
There are also commands such as FDISK, DELTREE, etc.
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 3 Posted 2003-02-03 00:00 ·  中国 陕西 西安 电信
初级用户
Credits 108
Posts 2
Joined 2003-02-03 00:00
23-year member
UID 840
Gender Male
Status Offline
Can you tell me how to format the C drive? What are the specific steps? Please reply,各位大侠.
Floor 4 Posted 2003-03-13 00:00 ·  中国 江西 吉安 电信
版主
★★★★
Credits 7,296
Posts 1,628
Joined 2002-10-16 12:00
23-year member
UID 10
Gender Male
Status Offline
First, type format c: in the command line.
Then press the Enter key.
That's it.
If you want to quick format the C drive, add the /q parameter. That is, format c:/q.
If you want to transfer the system so that the C drive can boot, add the /s parameter. That is, format c:/s.
Note that the command line mentioned here is in systems like msdos6.22, msdos7.10, etc. In the WinME system, it does not support the /s parameter.
ko20010214
=================================
大功告成,打个Kiss!
ko20010214@MSN.com
神州优雅Q300C
Intel CeleronM 370处理器 | 256MbDDR内存
40G硬盘 | USB2.0 | IEEE 1394
13.3 ' WXGA 宽屏(16:10) | COMBO光驱
10/100M网卡 | 四合一读卡器
Forum Jump: