# Windows “…” directory [closed]

I noticed something weird today. On the windows command prompt these are all valid:

cd .....
cd ....
cd ...


these are the more well known versions of parent dir and current dir

cd ..
cd .


What is weird is that other commands fail like dir ......

Why does this happen? Is it the same reason this works: cd foo\\\\\\bar (i'm assuming the parser is greedy?)

-

## closed as not constructive by DragonLord, Mokubai♦, Canadian Luke, 8088, DiogoSep 25 '12 at 0:45

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. If this question can be reworded to fit the rules in the help center, please edit the question.

cmd.exe or PowerShell? –  grawity Sep 24 '12 at 19:05
Perhaps command.com? Or Interix or Cygwin shell? –  Eroen Sep 24 '12 at 23:40
this was cmd.exe... Despite being marked as "not constructive" I found that in java new File("....").exists() always returns true. I suspect that these are related. –  mlathe Sep 25 '12 at 21:13