Home >System Tutorial >Windows Series >Win10 uses the recover/attrib/chkdsk/ command to repair hard disk data loss and other problems
Data loss is an inevitable problem for many users. Most people get into trouble when their valuable files are accidentally deleted, lost, or their hard drive is formatted. In order to save important data, users often turn to the Internet for help, looking for remedies on websites and forums. PHP editor Xigua has collected various solutions for data loss, which will be introduced in detail below to help you quickly recover lost data.
You may want to know how to use CMD command to recover deleted files. Maybe you will know the command prompt, such as "recover", "attrib", "chkdsk" command, etc., to help you recover deleted files. or missing files.
But these commands have usage requirements and are difficult to use correctly.
"How do I enter Recover command to recover deleted files? It needs to find the disk, path and file name. The name I entered is correct but I don't know the file Where is the storage path? "
This article will explain and introduce the usage of the "recover" command in CMD. With the guide here, you can recover deleted files using CMD command.
The "recover" command is one of the commands in the command prompt. According to Microsoft, it is used to recover undamaged/uncorrupted data from problematic disks. It will scan the hard drive sector by sector and recover data from good sectors.
Syntax: recover[drive:][path]File name
The parameters used here respectively represent:
Yes, the Recover command will try to recover readable information on the hard disk. By scanning sector by sector, it can recover complete data from defective hard drives but ignore corrupted/lost data in bad sectors. Here are its pros and cons.
Advantages: Recover data without causing damage or affecting the hard drive.
Disadvantages:
Although this command is not too difficult, it requires more data recovery. Follow the steps here to recover files in CMD.
1. Enter "cmd" in the Windows search box to start the command prompt > Select "Run as administrator".
#2. Enter the following commands in sequence and press "Enter". diskpart > list disk > select disk 1 > list volume > select volume 4
. Replace the number here with the actual drive letter of the affected drive.
3. Enter recover [drive:][path]filename
.
For example: Recover E:\test\recover-command-usage.jpg
It can be retrieved from the E: drive named "recover-command -usage.jpg" photo.
So, is there an easy way to recover deleted or lost data?
Compared with the strict requirements of the "recover" command, many users prefer to directly recover lost data without using the command, thereby saving time and energy.
In this case, you can use professional Windows data recovery tools to help you. This article recommends AOMEI Recovery Star, which can help you recover a variety of data lost due to various data loss situations.
1. Download, install and run AOMEI Recovery Star on your computer> Select the disk/partition where data was lost> Click " Start scanning".
#2. After automatically performing quick scan and deep scan, you will see deleted and lost files.
3. Check the scan results and select the data you need. Then click on "Recover x files" and save these recovered files in the new location.
This article details the syntax, usage, and advantages of using the Recover command in CMD to recover deleted files. shortcoming. Additionally, a good data recovery tool is also introduced.
In fact, backing up your important data is a practical way to prevent data loss. You can use the professional data backup tool AOMEI to easily back up and protect your data.
If you may still have many questions about the command. Additional information has been prepared here to assist you.
What is the attrib command? Can deleted files be recovered using attrib?
If you are looking to recover data from hard drive using command prompt, you may know about "attrib" command to recover files.
The "attrib" command is used to display, delete or assign file attributes. It needs to be used with parameters such as /r, /s, /d, etc.
Different parameters have different effects on files. Users need to use "+" or "-" in the parameters to assign or remove attributes.
Note:
Among the multiple "attrib" commands, none can recover deleted files, just show some hidden files, cancel the "read-only" flag, etc.
Will CHKDSK delete my files?
The "chkdsk" command will check the file system and the data in it to see if there are any errors. It also needs to be used with parameters such as /f, /r, /x or /b to fix errors.
Generally speaking, it just checks the hard drive for physical or logical errors and does not disrupt or interfere with the files in the hard drive.
But sometimes, due to hard drive damage and other problems, your files may be lost, you can try to use AOMEI Recovery Star to find the lost files you need.
The above is the detailed content of Win10 uses the recover/attrib/chkdsk/ command to repair hard disk data loss and other problems. For more information, please follow other related articles on the PHP Chinese website!