Solve annoying Thumbs. db

Source: Internet
Author: User

Method 1:

To disable the generation of the Thumbs. db file:

On the Control Panel, double-click "Folder Options" and switch to the "View" tab in the "Folder Options" dialog box, in advanced settings, set "√" before the "Do Not cache thumbnail" check box, and click "OK" to exit.

How to hide the Thumbs. db file:

If you select "Hide protected operating system files (recommended)" and "do not show hidden files and folders", then Thumbs. you can't see the db file, but it just hides it, actually it still exists.

How to delete the Thumbs. db file in full:

Save the following as a bat batch file and then execute it.

@ Echo off

Del c: \ Thumbs. db/f/s/q/

Del d: \ Thumbs. db/f/s/q/

Del e: \ Thumbs. db/f/s/q/

Del f: \ Thumbs. db/f/s/q/

Del g: \ Thumbs. db/f/s/q/

Del h: \ Thumbs. db/f/s/q/

Del I: \ Thumbs. db/f/s/q/

Del j: \ Thumbs. db/f/s/q/

Exit

Another headache Thumbs. db all disappears, and the world is quiet.

Method 2:

The Thumbs. db file is usually hidden, so you need to show the hidden file to see it. It is usually found in an image folder that is used to cache thumbnail data. But sometimes the picture in this folder is getting bigger and bigger because of the increase, decrease, and change. In fact, this is not the main reason. I want to delete the full Thumbs. db, because not every image folder, I want to display its thumbnail, but it is not a thumbnail display, Thumbs. the database does not disappear automatically, and the so-called "no cache thumbnail" on the Internet seems useless.

Copy the code between two "-----------------------" to the notepad, excluding "------------". Change the suffix to cmd and double-click it.

---------------------------------------------------------------

FOR % a IN (C: D: E: F: G: H: I: J: K: L: M: N: P: Q: R: S: T: u: V: W: X: Y: Z:) do del/f/s/q/a % aThumbs. db

----------------------------------------------------------------

Chinadu 'blog Copyright©2008

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.