Show 0 as null folder size instead of <DIR>
Moderators: Hacker, petermad, Stefan2, white
Show 0 as null folder size instead of <DIR>
I think <DIR> should be used only for folders whoose size is not calculated. If user asks for calculation, TC should show folder size, even if it is equal to zero. Why not to show 0 instead of <DIR> for empty folders after folder size calculation?
Last edited by MVV on 2010-07-20, 08:12 UTC, edited 1 time in total.
Faster---
2MVV
Hello !
• Indeed, that should be more logical and would avoid to press the space-bar to ensure that the folder is empty. So, I support the principle.
- However, on one hand “0” doesn't need translations, but it's a single character - maybe not obvious to spot at first glance…
… on the other hand, a string like <Empty> needs translation, but is better IMHO…
KR
Claude
Clo[face=arial][/face]

• Indeed, that should be more logical and would avoid to press the space-bar to ensure that the folder is empty. So, I support the principle.
- However, on one hand “0” doesn't need translations, but it's a single character - maybe not obvious to spot at first glance…
… on the other hand, a string like <Empty> needs translation, but is better IMHO…


Claude
Clo[face=arial][/face]
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
Octet---


• Because i.e in French byte is octet, so needs translation……why not to have "0 b" too?

Claude
Clo
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
Re: Octet---
Theese strings are translated many years ago!Clo wrote:• Because i.e in French byte is octet, so needs translation…

If 'bytes' is selected as size display, there will be just one digit w/o letters ("0", "1", ..., "9"), if 'dynamic' - TC appends translated Byte string ("0 b", "1 b", ..., "9 b" in internal English, "0 байт", "1 байт", ..., "9 байт" in official Russian, "0 o", "1 o", ..., "9 o" in official French)....
- Balderstrom
- Power Member
- Posts: 2148
- Joined: 2005-10-11, 10:10 UTC
Some other functionality would need to be added, as
currently after a calculate space, a Folder that is empty or only contains other (empty) folders shows up as <DIR> -- whereas you will see "0" when you are using "KB" for display and any possible files are < 1KB in size.
Though now I see some inconsistency, changing my display to "Bytes" (Tabstops) and deleting the contents of a test file (so it is 0 bytes)... Now after calculate space TC is indicating <DIR> ... instead of 0. And depending on the drive's sector size, that empty file is really taking up at least 4KB.
currently after a calculate space, a Folder that is empty or only contains other (empty) folders shows up as <DIR> -- whereas you will see "0" when you are using "KB" for display and any possible files are < 1KB in size.
Though now I see some inconsistency, changing my display to "Bytes" (Tabstops) and deleting the contents of a test file (so it is 0 bytes)... Now after calculate space TC is indicating <DIR> ... instead of 0. And depending on the drive's sector size, that empty file is really taking up at least 4KB.
*BLINK* TC9 Added WM_COPYDATA and WM_USER queries for scripting.
Show 0 as null folder size instead of t DIRt
I see there is an option to show directory size "show occupied space", but Id like to see it has two more features. One - permanent setting, so when you change directories it also shows size; two - select what file extension, Im used to seeing file sizes in Kb or KiB if you like.