Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The folder I am trying to delete has sub folders and those sub folders have their child folders. So, it's a huge tree of folders. Please advise.

share|improve this question
I've never seen a path where it was too long to delete :) deeply do you need to cd into the tree before running rd /q/s <folder> works properly? – warren Sep 24 '09 at 12:02
rmdir /S [Directory]

Removes all directories and files in the specified directory in addition to the directory itself. Used to remove a directory tree.

Is that what you're trying to do?

share|improve this answer
It still says something like File is too long.. – DragonBorn Aug 24 '09 at 6:56

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.