Rename folder with leading [dot]
Moderators: Hacker, petermad, Stefan2, white
Rename folder with leading [dot]
If i want to rename a folder "Misc" to "Misc..." using [Shift]+[F6]
i receive a message :
a folder with the name
<PATH TO>\Misc.. already exist
Do you want to move....
Folder Misc.. does not exist.
If i want to rename a folder "Misc..." to "Misc.." using [Shift]+[F6]
In the folder name the latest dot is missing.
when i validate i receive a message with :
Error Cannot read <PATH TO>\Misc..
i receive a message :
a folder with the name
<PATH TO>\Misc.. already exist
Do you want to move....
Folder Misc.. does not exist.
If i want to rename a folder "Misc..." to "Misc.." using [Shift]+[F6]
In the folder name the latest dot is missing.
when i validate i receive a message with :
Error Cannot read <PATH TO>\Misc..
We use TC because we know that Explorer have bugs many limitations ! I have some folder created by archive extraction and and i must rename them basically removing or adding dot. For now i can do it using the "msys mv" command.Sir_SiLvA wrote:and this is a TC Bug why? try to do that in explorer...
I admit that is not a good practice to have folder using trailing/leading dot...
Foldernames with a leading dot / with leading dots are not a problem at all. You can find foldernames with a leading dot frequently ... on Linux / Unix systems. And T.C. can handle them without problems.
Foldernames with a trailing dot are a problem, because the rightmost dot in a file/foldername separates the name from the extension. It must not be present in cases where there is no extension. I.e. a dot must not be the last character of a foldername. This is more a Windows convention than a technical necessity.
The trouble arises, because there are Windows API functions and a small number of programmes which break this rule and others which stick to it.
Karl

Foldernames with a trailing dot are a problem, because the rightmost dot in a file/foldername separates the name from the extension. It must not be present in cases where there is no extension. I.e. a dot must not be the last character of a foldername. This is more a Windows convention than a technical necessity.
The trouble arises, because there are Windows API functions and a small number of programmes which break this rule and others which stick to it.
Karl
nsp trying to rename "misc" to "misc..." gives an error in TC...

the difference is TC gives you at least an error message - in Explorer (Windows 7) you dont even get an error message...
Linux allows allot more that the windows filesystem.
Sir_SiLvA wrote:and this is a TC Bug why? try to do that in explorer...
This is NOT a BUG but a FS limitationnsp wrote:We use TC because we know that Explorer have bugs many limitations !

the difference is TC gives you at least an error message - in Explorer (Windows 7) you dont even get an error message...
Linux allows allot more that the windows filesystem.
Hoecker sie sind raus!
Can you explain, why it is a limitation as i can have this folder in my hard-drive and do what i want with some command line tool ?Sir_SiLvA wrote:nsp trying to rename "misc" to "misc..." gives an error in TC...
This is NOT a BUG but a FS limitation
On the other hand, TC do not allow to rename "misc..." to "misc" but explorer accept an do it.