Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7664817
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T14:24:03+00:00 2026-05-31T14:24:03+00:00

Sometimes I can’t delete a folder, because it contains thumbs.db . I have a

  • 0

Sometimes I can’t delete a folder, because it contains thumbs.db. I have a lot of folders (which contain images too) and I will need to move them to a different place and delete the original folder. But I am getting this error: the folder can’t be deleted because "thumbs.db" is being used by another process.
Moving and deleting is made in c#, and right now it skips deleting the folders that have thumbs.db, which will result in a lot of empty folders. Is there a way to delete the folder even if it has that file?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T14:24:04+00:00Added an answer on May 31, 2026 at 2:24 pm

    am submitting my comment as an answer because it is much more readable this way:

    You can switch off a creation of these files:
    in Registry Editor go to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
    and set NoThumbnailCache entry’s value to 1.

    If you don’t have this entry , just create it (DWORD 32).

    For Win 7 Ultimate/Professional version:
    HKEY_CURRENT_USER\Software\Microsoft\ Windows\CurrentVersion\Explorer\Advanced

    DisableThumbnailCache (DWORD also)

    To delete all already existing files create a batch file with the following content:

    cd c:\
    
    del /s /q thumbs.db
    

    and run it as administrator

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Sometimes I get Oracle connection problems because I can't figure out which tnsnames.ora file
I have a table which is created dynamically. Sometimes it can have two columns
I have a Ruby string that can sometimes contain some non-printable characters. Before I
I have got a price field to display which sometimes can be either 100
Sometimes a labeled break or continue can make code a lot more readable. OUTERLOOP:
I'm working on a project where the url sometimes can have empty spaces in
here monitorUrl contains- http://host:8810/solr/admin/stats.jsp and monitorUrl sometimes can be-- http://host:8810/solr/admin/monitor.jsp So i want to
I have an array that can vary in its dimension, sometimes can be small,
I have counter and sometimes it can get very big number, so I need
I have an ocx that can sometimes cause an internal application error when calling

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.