Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

I have a directory which has a tree of directories inside. It's not the name of the dir that is long, it is the tree of dirs inside it that vista is complaining about.

I tried using-

rmdir /S [MyDirectory]

Didn't work. Any idea?

share|improve this question

Rename dirs further up the path (to single characters if possible), thus reducing the overall length until Windows will accept it. It's worked for me in the past.

share|improve this answer

Use ZtreeWin

share|improve this answer

user 8.3 format: instead of rmdir reallylongdirectory /s try rmdir really~1 /s /q

share|improve this answer
    
Use "dir /x" to view these shorter names. – Kevin Panko Sep 2 '09 at 16:56

You must log in to answer this question.