What file is thumbs.db? Tutorial on how to prohibit deletion

PHPz
Release: 2024-02-14 20:50:37
forward
1400 people have browsed it

php editor Banana will answer for you: thumbs.db is a hidden file in the Windows system. It is a thumbnail cache file automatically generated by Windows Explorer when browsing folders. It exists to improve folder browsing speed and preview effects. However, sometimes the thumbs.db file takes up a lot of disk space or cannot be deleted. In response to this problem, we provide a tutorial on how to prohibit deletion of the thumbs.db file to help you solve related problems.

Disable thumbs.db file generation

1. Press Win R to open [Run], enter [gpedit.msc] and click [OK] or press [Enter] to open [Local Group] Policy Editor】

thumbs.db是什么文件 禁止删除方法教程

2. In the opened [Group Policy Window], click [User Configuration>Administrative Templates>Windows Components] and find the right side [File Explorer], double-click to open

thumbs.db是什么文件 禁止删除方法教程

3. Find and double-click to open [Turn off hidden thumbs] in [Settings] on the right side of the [File Explorer] interface Thumbnail cache in .db file]

thumbs.db是什么文件 禁止删除方法教程

4. Check [Enabled] and [Apply] settings

thumbs.db是什么文件 禁止删除方法教程

After the setting is completed, the thumbs.db file will not be generated the next time you start the computer.

How to completely delete thumbs.db

1. First create a new text document on the desktop

thumbs.db是什么文件 禁止删除方法教程

2. Open the text document and copy the following Content [FOR %%a IN (C: D: E: F: G: H: I: J: K: L: M: N: O: P: Q: R: S: T: U: V: W: X: Y: Z: ) DO DEL /f/s/q/a %%a\Thumbs.db] Copy and paste in, save and close the text document

thumbs.db是什么文件 禁止删除方法教程

3. Rename the text document to [Thumbs Cleaner.cmd] Remember to change the suffix to [.cmd]

thumbs.db是什么文件 禁止删除方法教程

4. Because the suffix is ​​changed, there will be The pop-up window prompts, continue to click [Yes] here

thumbs.db是什么文件 禁止删除方法教程

##5. After the changes are completed, double-click [Thumbs Cleaner.cmd], the program will automatically run and a pop-up window will pop up to start deletion [Thumbs.db] in each disk, the program will automatically close after all clearing

thumbs.db是什么文件 禁止删除方法教程

thumbs.db file is not a virus. As a database file, its size increases with the size of the file. The size increases as the number of pictures in the folder increases. Although the ever-increasing memory is annoying, sometimes you can use it to retrieve accidentally damaged pictures. If you don’t need it, just follow the above methods to delete and disable it. This can greatly reduce your memory.

Share to: If you like me, click me 1 Tag: thumbs.db

The above is the detailed content of What file is thumbs.db? Tutorial on how to prohibit deletion. For more information, please follow other related articles on the PHP Chinese website!

source:downxia.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!