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.
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.
2. Select the disk you want to recover, then [Tools] -> [Recover Lost Files]
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.
因为它复制的是最外层的根文件夹,
而我只想要它下面的VS文件夹中的文件,
所以当复制好VS文件夹时,
我就点了停止,并没有复制整个文件夹。
这个技巧先告诉大家,防止等待时间过长。
You can see that my project folder has been found, and quickly moved to another folder to prevent it from being overwritten.