The order with which files and folders are deleted.

Posted on 2006-03-20
Medium Priority
Last Modified: 2010-05-18
Can anybody tell me the order windows uses when a user deletes a folder?

For example, say I have a folder which contains many different levels of subfolders and files. If a user clicks delete on the folder then in what order does Windows start deleting the contents? I know that the actual folder is the last thing to be deleted but haven't a clue what goes on in between!

Any links to knowledge base articles which give more details on this would be appreciated.

Question by:metamatic

Accepted Solution

omegamueller earned 2000 total points
ID: 16241466
This is actually very interesting. Windows deletes files and folder based on the current view working chronologically. For example if you delete a folder that holds 10 files and have your current view sort by date it would delete the newest file first. Then the next and so on until all the files are gone and then it would delete the folder. As windows deletes it deletes the deepest folder in a file structure first.

Sorry could not find a kb on this.

Author Comment

ID: 16390506
Thanks for the reply. A KB article would have been nice but from my own experience there doesn't seem to be much about.

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I guess it is not common knowledge to most Wintel engineers/administrators: If you have an SNMP-based monitoring system in your environment (and it's common to have SNMP or Syslog) it's reasonably easy to enable monitoring of the Windows Event logs,…
Scenerio: You have a server running Server 2003 and have applied a retail pack of Terminal Server Licenses.  You want to change servers or your server has crashed and you need to reapply the Terminal Server Licenses. When you enter the 16-digit lic…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question