![dos命令chkdsk](https://img-blog.csdnimg.cn/img_convert/ab8db3137e1b2f5ba47369da585dbeca.png)
dos命令chkdsk
Chkdsk command is used to detect and fix disk and file system related errors if posible.chkdsk
provides some little options where we have all ready examined them in the following tutorials.
Chkdsk命令用于检测和修复与磁盘和文件系统相关的错误(如果可能)。 chkdsk
提供了一些小选项,我们都准备在以下教程中对它们进行了检查。
Windows Chkdsk Utility Tutorial with Examples To Fix File System Errors
Windows Chkdsk实用程序教程,带有修复文件系统错误的示例
We will look use cases for chkdsk /R
in this tutorial.
我们将在本教程中查找chkdsk /R
用例。
打开高架命令提示符Ms-DOS或Powershell (Open Elevated Command Prompt Ms-DOS or Powershell)
chkdsk
command is used from command line prompt or MS-DOS and Powershell whatever you want. As chkdsk
will made some changes in the system like modifying and fixing disk and file system it need Administrator level privileges in order to work. We will open MS-DOS Rigth Click
->Right Click on Command Promt
-> Run as Administrator
chkdsk
命令可从命令行提示符使用,也可以根据需要使用MS-DOS和Powershell。 由于chkdsk
将在系统中进行一些更改,例如修改和修复磁盘和文件系统,因此它需要管理员级别的权限才能工作。 我们将打开MS-DOS Rigth Click
-> Right Click on Command Promt
Rigth Click
> Run as Administrator
![Elevated Command Prompt, MS-DOS or Powershell](https://img-blog.csdnimg.cn/img_convert/2c57dbcded517248d78f9c031ec86b4b.png)
运行Chkdsk / R (Run Chkdsk /R)
/R
option will only check bad sectors located on the disk and will recover if finds any readable information. Running chkdsk /R
will also imply the /F
option. Here how to run chkdsk /R
. In this example we will check the drive C:
/R
选项将仅检查磁盘上的坏扇区,并在找到任何可读信息后恢复。 运行chkdsk /R
也将意味着/F
选项。 这里如何运行chkdsk /R
在此示例中,我们将检查驱动器C:
> chkdsk /R C:
![Run Chkdsk /R](https://img-blog.csdnimg.cn/img_convert/9e5c8dd3bbeefcaccddb1fd251e76b81.png)
/R
选项有什么作用 (What Does /R
Option in Detail)
As said before /R
option also implies the /F
option. So all things done by /F
option will be also done by /R
option. /R
option also does the followings.
如前所述, /R
选项还意味着/F
选项。 因此,由/F
选项完成的所有操作也将由/R
选项完成。 /R
选项还执行以下操作。
Find Physical Disk Errors (Not exist in
/F
)查找物理磁盘错误(
/F
不存在)Fix Physical Disk Errors (Not exist in
/F
)修复物理磁盘错误(
/F
不存在)- Fixes errors on disk 修复磁盘上的错误
- Locates bad sectors and recovers readable information查找坏道并恢复可读信息
- Forces the volume dismount first if necessary必要时先强制卸除体积
dos命令chkdsk