-TC vs Explorer -> diffrent behavior with "..."
Moderators: Hacker, petermad, Stefan2, white
-TC vs Explorer -> diffrent behavior with "..."
To do:
1. Start cmd.exe and run command "md 1\2\3\4\5\6\"
2. Then run "cd 1\2\3\4\5\6\"
3. Then run "md ...\...\"
4. Then run "cd ...\...\"
Now you are in "\1\2\3\4\5\6\...\...>" dir.
Try to enter it via Explorer - you can successfully see all the 3-dot-filenamed dirs.
Try TC - get another behavior: when trying to open "1\2\3\4\5\6\..." you'll be kicked into "1\2\3\4"...
TC has misunderstood the "cd .." and "cd ...\" syntaxis...
Bug? Feature?
1. Start cmd.exe and run command "md 1\2\3\4\5\6\"
2. Then run "cd 1\2\3\4\5\6\"
3. Then run "md ...\...\"
4. Then run "cd ...\...\"
Now you are in "\1\2\3\4\5\6\...\...>" dir.
Try to enter it via Explorer - you can successfully see all the 3-dot-filenamed dirs.
Try TC - get another behavior: when trying to open "1\2\3\4\5\6\..." you'll be kicked into "1\2\3\4"...
TC has misunderstood the "cd .." and "cd ...\" syntaxis...
Bug? Feature?
A WARNING to anyone reading this, do not try and create directories consisting of only dots.
Explorer wont even allow you to create directories named ... or .... etc. In fact, md or mkdir will not even do it, unless you add a backslash after it. So md ... fails, but md ...\ succeeds. Even navigating these folders with Explorer, after you manage to create them through the console is a problem.
This is not a bug or anything to worry about, it's such a weird and odd case that really shouldn't happen. Right now I am actually stuck with some ... and .... directories that is kinda tricky to remove again.
Here is how to remove these directories:
rd \\?\drv:\path\....
Explorer wont even allow you to create directories named ... or .... etc. In fact, md or mkdir will not even do it, unless you add a backslash after it. So md ... fails, but md ...\ succeeds. Even navigating these folders with Explorer, after you manage to create them through the console is a problem.
This is not a bug or anything to worry about, it's such a weird and odd case that really shouldn't happen. Right now I am actually stuck with some ... and .... directories that is kinda tricky to remove again.
Here is how to remove these directories:
rd \\?\drv:\path\....
Of all the planets I've been to, this one is my favorite.
Re: TC vs Explorer -> diffrent behavior with "...&am
I would say feature. See:MaxX wrote:Try TC - get another behavior: when trying to open "1\2\3\4\5\6\..." you'll be kicked into "1\2\3\4"...
TC has misunderstood the "cd .." and "cd ...\" syntaxis...
Bug? Feature?
http://ghisler.ch/board/viewtopic.php?t=15637
Creation
On Windows XP I can't create folders named "..." with cmd, explorer or TC. Except when using the \\?\ syntax, then I can using cmd or TC.
Access
I can't enter the folder "..." using cmd or explorer or TC. TC goes to grandparent folder.
Rename
I can't rename the folders using cmd or explorer. I can when using TC and by using the \\?\ syntax and F6 (not Shift-F6). In TC type "cd \\?\c:\temp\1\2\3\4\5\6", select the folder "...", press F6, enter new name. So using TC I can access the folder by renaming it.
Removal
I can't remove the dir "..." using explorer. I can with cmd if folder is empty, or with TC by using the \\?\ syntax.
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Sorry, I don't have any plans to support such names.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com