-
Click the win button and enter cmd in the run dialog box to open the command prompt window.
<> hard disk is a very important part of the computer, and some problems will inevitably occur in long-term operation.
We use the chkdsk command to check and repair the hard drive.
The chkdsk command is very powerful, we can type chkdsk ? to see all the information on the command line.
In general, we first check the hard drive, and if there is a problem, then fix it.
chkdsk drive name is used to check the file system.
The chkdsk command takes a long time to run, and the check is divided into three steps.
1- Documentation.
2- Index. 3- Security descriptor.
Constitutes the structure of the entire file system.
If it is an NTFS system, we can also use the chkntfs command to check, the chkntfs command has more parameters, we can enter chkntfs ?to see command help.
If the system detects a problem, we use chkdsk drive f to repair the file system, the chkntfs command is relatively fast, if the system has been detected, we can directly enter the chkntfs drive name to analyze.
If you use the repair command, the system needs to be repaired when it is turned on, not a running drive.
When we use a command to fix it, the system will remind you whether to force unmount the loaded volume.
Frequent maintenance, cleaning, and analysis of hard drives is very beneficial to the system.
-
Eat a test and want to see if you have something wrong with it, and then get it again.
-
The command for disk self-test is chkdsk, and the method of disk self-test on Windows system is as follows:
1. Take win10 system as an example, open "Run" in the start menu.
2. Enter cmd in the run, and click OK to open the command indicator.
3. In the cmd command indicator, slide into chkdsk and press enter.
4. Wait for the system disk to be automatically detected after the slag is finished.
-
Check that the cmd command for the disk is chkdsk, and the following is how to do it
2. Then the dialog box pops up, enter the state of waiting for input commands, and enter the chkdsk after Lao Cong disassembles it, and then you can check the disk.
3. We can see the large file records and wrong file records that have been processed in the command box, the verification progress of the second stage, the total number of index items and the number of processed files.
4. Continue to pay attention, Zheng Xin's third phase report has checked the file system and there is no problem. Finally, the total disk space, disk usage, and disk allocation units are displayed. At this point, the disk has been checked.
-
External commands for DOS are applications that make the operation more convenient and in-depth for the user. These external commands are in the form of files, and the DOS external commands of the Windows system are stored in the main directory of Windwos"command"Table of Contents. Let's take a look at some of the commonly used DOS external commands.
1. format (formatting life is well known, newly bought disks must be formatted before they can be used, the format command can complete the formatting operation of floppy disks and hard disks, the format is"format [drive letter] [parameter].", for example:"format a: /s"It has two common parameters:
Q: Quick formatting; s: Complete the formatting and copy the system boot file to the disk.
Note: This command will erase all data on the destination disk and must be used with caution. If you do a normal format, the data on the disk can still be recovered, but if you add it"/q", then it is more difficult to recover than to kick the sky. edit(command.
3. In fact, it is a text software, which can be used to easily carry out text files under DOS, and the format is"edit [file name] [parameters].", its parameters are not particularly practical, I will not go into it here.
3) sys (System Boot File Transfer Command.
It is capable of transferring several files to the destination disk so that it can boot and boot. The format is"sys"
4) attrib (file property setting command.
With this command, we can view and change the properties of the file. The format is"attrib [path] [filename] [parameter].", if not parameterized, the display file properties. Its parameters are:"+?
with"-?Two kinds,"?Represents the attribute code, these codes are:
h"Hide; "s"System; "r"Read-only,"+ means to give,"- means removal.
-
chkdsk。
The full name of chkdsk is checkdisk, which means disk check. This thing is called by the system to check the disk when your system crashes or shuts down illegally, or it can be manually called by the command line to check a disk partition.
The tool creates and displays a status report of the disk based on the file system used by the detected partition. chkdsk also lists and corrects errors on disk. If you don't have any parameters, chkdsk will display the status of the disks in the current drive.
-
The command for disk self-test is chkdsk, and the method of disk self-test on Windows system is as follows:
1. Take win10 system as an example, open "Run" in the start menu.
2. Enter cmd in the runtime, and click OK to open the command indicator.
3. Enter chkdsk in the cmd command indicator and press enter.
4. Then wait for the system disk to be automatically detected.
-
The command for disk self-test is chkdsk.
Take Windows 7 as an example:
2. Enter the state of waiting for input command, enter chkdsk and press enter, then you can check the disk.
3. You can see the large file records and wrong file records that have been processed in the command box.
4. Finally, the total disk space, the occupied space of the disk and the disk allocation unit are displayed. At this point, the disk has been checked.
-
Disk detection is a self-protection measure caused by the system detecting a disk data call error or data file loss. Using a disk scan and detection program can protect our hard drive from a series of problems caused by sudden power outages or other abnormal shutdowns. Not only does an abnormal shutdown require a disk scan, but we sometimes need to manually start it, which can not only help us recover data but also easily repair the hard disk damage.
The disk detection command is: chkdsk (win98 is scandisk).
We can run the disk detection command as follows: Start Run by typing cmd in Start Run to start the command line. Then enter:
chkdsk
The meaning of this command is checkdisk (the consonant of the word), which translates into Chinese as disk detection. This command is used to detect the current disk.
If you want to detect other drive letters, there are two ways:
1. Use the chkdsk disk symbol. For example, if you want to detect disk D, you can run chkdsk d: without switching to disk D, if it is disk E, it is chkdsk e:, and in the above legend, drive F is detected.
2. Switch the drive letter, and then use chkdsk. For example, if you type d:, switch to the d drive, re-enter the chkdsk command, and so on for all other drive letters.
But sometimes this command needs to add other parameters, the most common is to add f, which means fix, Chinese means repair. So chkdsk d: f means to detect and repair the D drive.
In this way, for some basic hard disk errors, you can fix it, but there is a small station to remind everyone, you don't think that there is a problem with the hard disk or USB disk, please use f with caution, according to my observation, sometimes f will cause the phenomenon of individual files lost after scanning, only when you feel that there is a problem with the hard disk or U disk, you can try to use the f parameter.
This command is actually very useful, for example, sometimes we find that a partition or removable storage device (such as *** or U disk, etc.) can display the drive letter but cannot be opened, at this time, you may wish to enable cmd, use the chkdsk command to try to fix it; I've also tried using the chkdsk command to fix the ** station not being emptied; Sometimes you find that the disk capacity is abnormal, you may wish to use the chkdsk f command to try it, and it may solve your problem.
-
Run it on cmd: chkntfs to solve the disk self-test!
-
chkdsk is followed by a space, and then enter the drive letter of that disk, and there is a parameter, and the landlord enters chkdsk help in the command prompt.
-
Check the dos command chkdsk for the disk.
1. Function: Display the disk status, memory status and the number of discrete files under the specified path.
2. Type: external command.
3. Format: chkdsk [drive letter:][path][file name][f][v]Running method under the windows system:
1. In the start menu, click Run;
2. Enter cmd in the pop-up dialog box and press Enter to enter the DOS system;
3. Enter chkdsk on the command line and press enter.
-
chkdsk d: is to check d disk, note that you can't add , the normal default is to check c, check other disks to write like this. You can also add the f parameter to fix the error, otherwise it is read-only.
-
Click "Start", click "Run", enter cmd and press enter to open the command prompt window;
Enter the following command in this window:
For example, check and repair partition E: chkdsk e: f Enter will start the chkdsk disk check tool to scan the E partition.
The detailed parameters of the chkdsk command are described as follows:
chkdsk [volume[[path]filename]]]f] [v] [r] [x] [i] [c] [l[:size]]
volume specifies the drive (followed by a colon), mount point, or volume name.
filename is only used for fat fat32: Specify the file you want to check for fragmentation.
f Fix the error on the disk.
v on fat fat32: Displays the full path and name of each file on the disk.
r finds incorrect sectors and recovers readable information (implicit f).
l:size is only used for NTFS: Change the log file size to the specified number of kilobytes. If no size is specified, the current size is displayed.
x Force the volume to be unmounted first if necessary. All open handles to the volume are invalid (implicit f).
i For NTFS only: Perform a less intense check on index items.
c For NTFS only: Skip the circular check of the folder structure.
The I and C command-line switches skip certain checks for the volume, reducing the time it takes to run chkdsk.
It is also possible to check the disk in the graphical interface (you need to restart the computer to detect the C drive).
Right-click on the C drive icon General [Disk Cleanup] to clean up all junk (repair system files if prompted).
C Drive Properties Tool Error Check (Be sure to check the two options of error correction and bad sectors) [Start Check] Agree to restart the scan.
C Drive Properties Tools Defragmentation [Start Decluttering] Select C Drive [Defragmentation] (do not open other programs).
-
chkdsk space drive letter (with a colon) e.g. chkdsk d: (detect disk d).
-
HDDREG doesn't know if your DOS has this feature.
tar is not a script file, it is a Linux command.
Answer added: Disk fragmentation explained, there is it in the encyclopedia. >>>More
string excelname= excelfileurl();The path to return to excel. >>>More
define translates to definition in English;
define x >>>More
1. The disk array is composed of many low-cost disks to form a disk group with a huge capacity, and the addition effect generated by the data provided by individual disks is used to improve the performance of the entire disk system. >>>More