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?
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.
user 8.3 format: instead of rmdir reallylongdirectory /s try rmdir really~1 /s /q