(iii) chkdsk--check the current status of the disk command
1. Features: Displays the disk status, memory status, and the number of noncontiguous files specified under the specified path.
2. Type: External command
3. Format: CHKDSK [Drive letter:] [path] [filename][/f][/v]
4. Instructions for use:
(1) Choose the [filename] parameter, then show that the file occupies disk;
(2) Selecting [/F] parameters to correct the logic errors found on the specified disk;
(3) Select the [/V] parameter to display all the files and paths on the disk.
(iv) diskcopy--full disc Copy command
1. Function: Copy the floppy disk with exactly the same format and content.
2. Type: External command
3. Format: diskcopy[1:][disk character 2:]
4. Instructions for use:
(1) If the target floppy is not formatted, the system is automatically selected for formatting when copying.
(2) If the original file on the target floppy disk, then all will be lost after replication.
(3) If it is a single drive replication, the system will be prompted to replace the source disk and target disk, please note that the source and target disk.
(v) label--set up a Disk volume label command
1. Features: Create, change, and delete disk volume labels.
2. Type: External command
3. Format: label[letter: [Label name]
4. Instructions for use:
(1) The label name is the name of the volume to be established, and if this is the default, you are prompted to type the name of the volume label or ask if you want to delete the original label name;
(2) The volume label name consists of 1 to 11 characters.
(vi) vol--Display Disk volume label command
1. Function: View the disk volume label.
2. Type: Internal command
3. Format: vol[Letter:]
4. Use description: Omit the letter to display the current drive volume label.
(vii) scandisk--detection, Repair Disk command
1. Features: Detects whether a disk's Fat table, directory structure, file system, and so on has problems, and can fix detected problems.
2. Type: External command
3. Format: scandisk[disk 1:]{[letter 2:] ...} [/ALL]
4. Instructions for use:
(1) Ccandisk for hard disks and floppy disks, you can specify multiple disks at once or use [/all] parameters to specify all disks;
(2) Automatic detection of the occurrence of the disk in the cross connection, loss of cluster and directory structure and other logical errors, and to repair.
(eight) defrag--restructuring disk command
1.. Function: Defragment the disk and eliminate disk fragments.
2. Type: External command
3. Format: defrag[letter:][/f]
4. Instructions: Select/F parameters, the existence of the file in the disk to eliminate debris, and adjust the disk file arrangements to ensure that there is no gap between the files. This speeds up the reading disk and saves disk space.
(ix) sys--System Replication command
1. Function: Io.sys,msdos the DOS system files on the current drive. SYS and Command.com are routed to the specified drive.
2. Type: External command
3. Format: sys[Letter:]
* Use instructions: If the disk space is not enough to hold the system files, prompt: No roomfor on Destination disk.
File Action Class command
(i) Copy file Copy command
1. Function: Copies one or more files to the specified disk.
2. Type: Internal command
3. Format: COPY [source disk] [path]〈 source filename 〉[Target disk] [path] [destination filename]
4. Instructions for use:
(1) Copy is the file on the way the file copy data, before copying the target disk must have been formatted;
(2) in the process of copying, the old files with the same file name on the target disk will be replaced by the source file;
(3) When copying a file, you must first determine that there is enough space for the target, otherwise it will appear; insufficient error message, indicating insufficient disk space;
(4) The file name allows the use of the "*" ""? , you can copy multiple files at the same time;
(5) The source filename in the copy command must be indicated and cannot be omitted.
(6) When copying, the target file name can be the same as the source file name, known as "copy of the same name" at this time the target filename can be omitted;
(7) When copying, the target file name can also be different from the source file name, called "Duplicate", at this point, the target filename can not be omitted;
(8) When copying, you can also merge several files into one file, called "merged copy", the format is as follows: copy;[source disk] [path]〈 source filename 1〉〈 source filename 2〉 ... [Target disk] [path]〈 target filename];
(9) Using the Copy command, you can also enter data from the keyboard to create the file, the format is as follows: Copy CON [letter:] [path]〈 filename];
(10) Note: The use of the Copy command format, the source file name and the target file name must be between the space!
(ii) xcopy--directory Replication command
1. Function: Copies all files in the specified directory and directory, along with the directory structure.
2. Type: External command
3. Format: XCOPY [Source disk:]〈 Source pathname 〉[target letter:] [target pathname][/s][/v][/e]
4. Instructions for use:
(1) Xcopy is a copy of the extension, you can make the specified directory file and directory structure together copy, but can not copy hidden files and system files;
(2) The source letter, the source destination path name, and the source filename are specified at least at the time of use;
(3) Select/s when all files under the source directory and its subdirectories are copy. Unless the/e parameter is specified,/s does not copy the empty directory, and if the/s parameter is not specified, Xcopy copies only the files of the source directory itself, not the subdirectories under it;
(4) When the use of the/V parameter, the copy of the sector are compared, but the speed will be reduced.
(iii) type--display file content commands
1. Function: Displays the contents of an ASCII file.
2. Type: Internal command.
3. Format: type[Letter: [path]〈 filename]
4. Instructions for use:
(1) Display a text file made up of ASCII code, right. Exe. COM, such as extension of the file, its display content is unreadable, no practical significance 2;
(2) The command can only display the contents of one file at a time, and cannot use wildcard characters;
(3) If the file has an extension, you must write the extension;
(4) When the file is longer, a screen will not appear, you can display in the following format; type[letter: [path]〈 filename 〉| More,more displays commands for the split screen, pauses when Mansi when you use some parameters, and press any key to continue displaying.
(5) If you need to print out the contents of the file, you can use the following format:
type[Letter: [path]〈 filename 〉,>prn
The printer should now be online.
(iv) ren--file name order
1. Function: Change file name
2. Type: Internal command
3. Format: ren[Letter: [path]〈 old filename 〉〈 new filename
4. Instructions for use:
(1) The new file name can not be preceded by a letter and path, because the command can only replace the file name on the same disk;
(2) Allow the use of wildcard characters to change a set of file names or extensions.
(v) fc--file Comparison command
1. Function: Compare the similarities and differences of files, and list the difference place.
2. Type: External command
3. Format: fc[Letter: [pathname]〈 filename 〉[letter:] [path name] [filename][/a][/b][/c][/n]
4. Instructions for use:
(1) Choose/A parameter for the ASCII code comparison mode;
(2) Choose/b parameter, for binary comparison mode;
(3) Select/C parameters, the uppercase and lowercase characters as the same character.
(4) using the/n parameter, in the ASCII comparison mode, display the difference in the line number.