![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-09-22 08:04 |
47,812 topics / 349,917 posts / today 0 new / 48,271 members |
| DOS学习入门 & 精彩文章 (教学室) » Several Dangerous Commands in DOS [Repost] |
| Printable Version 4,877 / 3 |
| Floor1 ko20010214 | Posted 2003-01-04 00:00 |
| 版主 Posts 1,628 Credits 7,296 | |
|
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. |
|
| Floor2 Wengier | Posted 2003-01-04 00:00 |
| 系统支持 Posts 10,521 Credits 27,736 | |
|
There are also commands such as FDISK, DELTREE, etc.
|
|
| Floor3 kk9834 | Posted 2003-02-03 00:00 |
| 初级用户 Posts 2 Credits 108 | |
|
Can you tell me how to format the C drive? What are the specific steps? Please reply,各位大侠.
|
|
| Floor4 ko20010214 | Posted 2003-03-13 00:00 |
| 版主 Posts 1,628 Credits 7,296 | |
|
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. |
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |