This is the mail archive of the
mailing list for the Cygwin project.
Re: directories named '...' (dotdotdot) do not work
Corinna Vinschen wrote:
Btw., the "..." directory is not recognized at all by cmd.exe. If you
try to cd into it, it's simply ignored. If you set the CWD to it
and start cmd, cmd thinks it is in the parent directory. This occurs
on XP *and* W7.
At least on XP cmd and others could not be run from a subdir below "...":
$ cmd.exe /c cd
$ mkdir x
$ cd x
# cmd.exe /c cd
-bash: /cygdrive/c/WINDOWS/system32/cmd.exe: Not a directory
Same for "....", ".....", ....
Different path checking in win32api layer and ntdll layer ?
I would suggest to either quote or reject "..." in Cygwin.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple