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.
/
--------------------------------------------------------------------------------
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网卡 | 四合一读卡器
=================================
大功告成,打个Kiss!
ko20010214@MSN.com
神州优雅Q300C
Intel CeleronM 370处理器 | 256MbDDR内存
40G硬盘 | USB2.0 | IEEE 1394
13.3 ' WXGA 宽屏(16:10) | COMBO光驱
10/100M网卡 | 四合一读卡器

DigestI
