In win7, the mobile hard drive file system was changed to Windows 7 for RAW processing. After that, we found that the gb wd mobile hard drive could be inserted and the drive letter could not be opened when we double-click it, prompt to format. The hard disk works normally in the previous XP system. Solution: Start-run-input "chkdsk X:/f"-Press enter. Note: X indicates the drive letter displayed on the RAW disk. Which disk has changed to RAW, enter the CHKDSK information www.2cto.com CHKDSK as a disk detection command. The CHKDSK command can check the disk status and display the status report, and correct disk errors. The status report displays logical errors in the MS-DOS file system, which consists of a file allocation table (FAT) and directory (CHKDSK does not verify that the information in the file can be accurately read ). If the disk has an error, CHKDSK will give a warning message. Therefore, CHKDSK should be used from time to check for disk errors to ensure the normal operation of the system. 1. CHKDSK command syntax CHKDSK drive: [[path] filename] [/F] [/V] to display the disk status of the current drive, run the following command: CHKDSK 2. Parameter Interpretation of The CHKDSK command (1) drive specifies the drive of the disk to be checked by the CHKDSK. (2) [path] filename specifies the path and name of one or more files whose CHKDSK is used for fragment check. wildcards (* Or?) are available ?) Specify multiple files. 3. Switch item (1)/F of the CHKDSK command to correct disk errors. Note that do not select this option when running CHKDSK from other applications (such as Windows. (2) When checking the/V disk, the files in each directory are displayed.
4. Obtain the help information www.2cto.com. If you do not know how to use the CHKDSK command, you can enter CHKDSK /? You can understand its usage. V. Comments on the CHKDSK command (1) form of status report the MS-DOS displays the CHKDSK status report in a similar way as below: Volume MS-DOS_6 created 07-16-1996 10: 40a Volume Serial Number is 2111-59F0 629,424,128 bytes total disk space 638,976 bytes in 15 hidden files 1,146,880 bytes in 70 directories 120,766,464 bytes in 1,802 user files 506,871,808 bytes available on disk (2) when correcting disk errors, it is best to use ScanDisk programs. For more information, see the (SCANDISK) command. Use the CHKDSK/F command to correct disk errors. The displayed information is as follows: 10 lost allocation units found 3 chains convert lost chains to files? If you press Y on www.2cto.com, The MS-DOS stores each lost chain in the root directory in FILEnnnn. CHK format file name, nnnn is a number starting from 0000. After the CHKDSK check is completed, you can check whether these files contain the required data. If so, you can edit and use them. Otherwise, you can delete all of them, to avoid disk space occupation. If N is selected, the MS-DOS fixes only the disk, but does not save the contents of the lost allocation unit. If you do not need the/F switch, CHKDSK will present a message to remind you whether the file needs to be corrected and restored, but will not conduct actual error correction. (3) If no error is found in CHKDSK, The ERRORLEVER value is 0. If one or more errors are found, the returned ERRORLEVER value is 255.
Vi. Precautions for using the CHKDSK command (1) do not use CHKDSK when a file is opened in the system. Because CHKDSK is designed to assume that the disk file is closed. When a file opens, the corresponding MS-DOS modifies the File Allocation Table and directory structure. This change does not necessarily happen immediately. Changes to the file allocation table and directory structure occur at different times. Therefore, if CHKDSK is run when files on the disk are opened, the inconsistency between the directory structure and the file allocation table is interpreted as an error, resulting in data loss or file system damage. Therefore, do not run CHKDSK when running other programs, such as Microsoft Windows. (2) The CHKDSK cannot be used to allocate the drive and network. CHKDSK cannot be used for drive operations formed by SUBST commands, nor for disk checks on network drives. (3) physical disk error the CHKDSK command can only find logical errors in the file system, but cannot find physical disk errors. To locate physical disk errors, use the SCANDISK program. (4) In the CHKDSK report, the bad sector is marked as "bad", and the SCANDISK and other physical disk error correction programs mark the bad sector as "bad". Therefore, the bad sector will not cause harm. If two files or directories share the same disk space, CHKDSK reports that there are cross-linked files. If the CHKDSK finds that a cross-link file exists, the following information is displayed: is cross-linked on allocation unit CHKDSK does not fix the cross-link file, even if/F is specified. To fix the cross-link file, you need to run the SCANDISK program, or manually repair the file, copy it to the specified file, and delete the original file. VII. Application Instance (1) Save the CHKDSK status report to a file. You can redirect the CHKDSK status report to a file to save it. However, when redirecting the CHKDSK to the file, do not use/F toggle. For example, to output the CHKDSK check information to the CHK. LIS file, the command is: C: \ DOS> chkdsk a:> CHK. LIS. Www.2cto.com (2) if you check how much data is stored on drive C, how much space is available, and correct disk errors, run the following command: chkdsk c: When an error occurs, CHKDSK will pause and prompt information. (3) The CHKDSK and FIND commands, combined with the pipeline function, are used to FIND files in the entire system. This command format not only lists the directories of the files to be searched, you can also list files of the same name in each directory, and the hidden files are no exception. It is worth noting that before using this command, you should first use the CHKDSK/F parameter to correct disk errors. For example, to find the README file on drive C, the command format is as follows: C:> CHKDSK/VIFIND "README" Reference http://zhidao.baidu.com/question/2751980.html
Author Guobutter