How to recover deleted data from disk

problem background

Bloggers use VSCode to write code every day, and the project directory is placed in the VSCode installation folder. After writing the code and closing VSCode today, I found that the project folder could not be found, no matter which disk was found, and then I went online to Baidu and found that If you do not change the settings, VSCode will automatically update, and her update mechanism is to overwrite the directory. So when I set the project directory to the VSCode folder, it was overwritten by the automatic update.
insert image description here

solution

1. Download the disk management tool DiskGenius, and after downloading, unzip it and you can use it. Non-toxic, harmless, powerful, click DiskGenius.exe to open the software.
insert image description here

2. Select the disk you want to recover, then [Tools] -> [Recover Lost Files]
insert image description here
3. All lost files will be recovered in about 10s. Next, we select the folder to be recovered and copy it to the specified folder in.

insert image description here

因为它复制的是最外层的根文件夹,
而我只想要它下面的VS文件夹中的文件,
所以当复制好VS文件夹时,
我就点了停止,并没有复制整个文件夹。
这个技巧先告诉大家,防止等待时间过长。

You can see that my project folder has been found, and quickly moved to another folder to prevent it from being overwritten.
insert image description here

Guess you like

Origin blog.csdn.net/qq_42257666/article/details/122943199