The order with which files and folders are deleted.

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.

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
metamaticAuthor Commented:
Thanks for the reply. A KB article would have been nice but from my own experience there doesn't seem to be much about.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2003

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.