VisualDirSize

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Clas Hortien
Member
Member
Posts: 198
Joined: 2003-03-03, 15:03 UTC

Post by *Clas Hortien »

This is the dir /s d:\vm output with the exact filesizes:

Code: Select all

D:\>dir vm /s
 Volume in drive D is Daten
 Volume Serial Number is 943D-11DC

 Directory of D:\vm

03.08.2005  14:30    <DIR>          .
03.08.2005  14:30    <DIR>          ..
05.08.2005  17:04    <DIR>          Mail
03.08.2005  14:30    <DIR>          Vista
21.07.2005  18:13    <DIR>          Windows 2000 Advanced Server
19.07.2005  16:08    <DIR>          Windows 2000 Server
08.02.2005  18:38    <DIR>          Windows 2003
19.07.2005  15:23    <DIR>          Windows 2003 Enterprise Edition
               0 File(s)              0 bytes

 Directory of D:\vm\Mail

05.08.2005  17:04    <DIR>          .
05.08.2005  17:04    <DIR>          ..
08.08.2005  00:22     4.224.730.624 Mail.vhd
05.08.2005  17:04            15.510 Mail.vmc
05.08.2005  17:04       115.378.176 Pagefile.vhd
               3 File(s)  4.340.124.310 bytes

 Directory of D:\vm\Vista

03.08.2005  14:30    <DIR>          .
03.08.2005  14:30    <DIR>          ..
03.08.2005  14:30            35.328 System.vhd
               1 File(s)         35.328 bytes

 Directory of D:\vm\Windows 2000 Advanced Server

21.07.2005  18:13    <DIR>          .
21.07.2005  18:13    <DIR>          ..
21.07.2005  18:13     2.605.334.016 Windows 2000.vhd
21.07.2005  18:13            18.448 Windows 2000.vmc
21.07.2005  18:13        58.655.580 Windows 2000.vsv
               3 File(s)  2.664.008.044 bytes

 Directory of D:\vm\Windows 2000 Server

19.07.2005  16:08    <DIR>          .
19.07.2005  16:08    <DIR>          ..
20.07.2005  14:36     1.000.621.056 Windows 2000 Server.vhd
20.07.2005  14:36            16.016 Windows 2000 Server.vmc
19.07.2005  16:11       398.601.753 Windows 2000 Server.zip
               3 File(s)  1.399.238.825 bytes

 Directory of D:\vm\Windows 2003

08.02.2005  18:38    <DIR>          .
08.02.2005  18:38    <DIR>          ..
11.07.2005  17:11     2.389.274.624 System.vhd
20.07.2005  14:37            14.804 Windows 2003.vmc
               2 File(s)  2.389.289.428 bytes

 Directory of D:\vm\Windows 2003 Enterprise Edition

19.07.2005  15:23    <DIR>          .
19.07.2005  15:23    <DIR>          ..
27.04.2004  01:07             1.204 ReadMe.txt
20.07.2005  09:29     2.208.875.520 Win2003EESysprepBase.vhd
20.07.2005  09:29            11.924 Win2003EESysprepBase.vmc
27.04.2004  00:59       680.000.000 Win2003EESysprepBase.z01
27.04.2004  01:00       660.479.907 Win2003EESysprepBase.zip
               5 File(s)  3.549.368.555 bytes

     Total Files Listed:
              17 File(s) 14.342.064.490 bytes
              20 Dir(s)  33.039.183.872 bytes free

D:\>
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

guent peer wrote:Hi,

I've got the problem that by pressing 'Ctrl+Q' only the Quick-view window opens. So what's my error? Thanks in advance for your answers.

Best regards,

guent
Maybe you got another plugin installed (e.g. ieview). Try this: Switch to quickview panel, press [4] to activate the next plugin.

You can also change the order of plugins with TC Plugins manager.

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

kajoj1 wrote: @Clas Hortien
i got some negative bars when the filesizes are very big (> 2 GB).
See a screenshot at
http://www.hortien.com/upload/dirsize.png
Could you give me correct sizes of directories from your screenshot? Can't reproduce that bug....
i think negative value occur due to using Long integer variable to hold file size

Code: Select all

Long integer is 4 Bytes long and range from -2,147,483,648 to 2,147,483,647
therefore if it > 2GB its value interpreted as negative

Wishes:
=======

1- an option to exclude files and show folders size only
2- an option to change the plugin behaviour to show the size of the folders in the current folder and the quick veiw remain static even if i change the selected folder
EX: if i in C:\Windows and press Ctrl+Q then the quick view panel show the size of all subfolders under C:\Windows and refreshed only if there is any subfolder deleted

this would be very useful to easy clean the current folder from large subfolder; I hope this can be easy to implement!

Regards!
kajoj1
Member
Member
Posts: 122
Joined: 2005-08-08, 10:24 UTC
Contact:

Post by *kajoj1 »

@Clas Hortien In fact there is bug in my code, I'll find workaround. Thanks for pointing me to this.

@ts4242
1- an option to exclude files and show folders size only
2- an option to change the plugin behaviour to show the size of the folders in the current folder and the quick veiw remain static even if i change the selected folder
Added to wishlist.

All wishes are welcome :D
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

kajoj1 wrote:Added to wishlist.
Thanks! hope to see them in next version
kajoj1 wrote:All wishes are welcome :D
forgotten one: watch for Esc key when calculating folder size to cancel the operation if it take long time
User avatar
van Dusen
Power Member
Power Member
Posts: 684
Joined: 2004-09-16, 19:30 UTC
Location: Sinzig (Rhein), Germany

Post by *van Dusen »

2kajoj1

Nice plugin, thanks :) !

Suggestion:

Add an alternative chart view with bars, which shows the size for groups of files, grouped by file type:
a) Grouped by extension (e.g. one bar for all TXT files, one for all EXE etc.) or
b) Grouped by user defined filegroups (e.g. one bar for all "Audio" files, one for all "Graphic" files etc.)
b1) Filegroups could be defined in in a (some) new section(s) of DirSize's INI-file or
b2) Filegroups could be read from wincmd.ini (section "[searches]", keys "{name}_SearchFor=")

Could be useful for choosing the best suited archiver ("mostly compressable multimedia files? OK, let's take SBC or ZipStar"), for instance.

Best regards, van Dusen
guent peer
Member
Member
Posts: 124
Joined: 2003-02-14, 08:15 UTC

Post by *guent peer »

@sheepdog
Maybe you got another plugin installed (e.g. ieview)...You can also change the order of plugins with TC Plugins manager.
Thanks for this valuable hint! It was indeed ieview that interfered.

Best regards,

guent
User avatar
szlori
Senior Member
Senior Member
Posts: 263
Joined: 2005-01-17, 07:12 UTC
Location: Sydney

Post by *szlori »

Hi kajoj1,
Thanks for this great plugin, exactly what I was whishing for in another thread.
Now let me tell my whish:
  • Is it possible for the plugin to work on [..] and show the chart for the current directory?
kajoj1
Member
Member
Posts: 122
Joined: 2005-08-08, 10:24 UTC
Contact:

Post by *kajoj1 »

@ts4242
@szlori

Thanks for sugestions, added to wish list.

@van Dusen
Suggestion:
Add an alternative chart view with bars, which shows the size for groups of files, grouped by file type:
a) Grouped by extension (e.g. one bar for all TXT files, one for all EXE etc.) or
b) Grouped by user defined filegroups (e.g. one bar for all "Audio" files, one for all "Graphic" files etc.)
b1) Filegroups could be defined in in a (some) new section(s) of DirSize's INI-file or
b2) Filegroups could be read from wincmd.ini (section "[searches]", keys "{name}_SearchFor=")
I like this idea very much. Unfortunately I cannot promise that it'll be implemented quickly… Maybe in next major relase.
kajoj1
Member
Member
Posts: 122
Joined: 2005-08-08, 10:24 UTC
Contact:

Post by *kajoj1 »

New version DirSize 1.0 beta2 is avaiable at http://members.lycos.co.uk/kajoj100/

Main change is fix bug, founded by Clas Hortien, in displaying very big files/directories and negative bars.

Changes:
- Fixed bug with displaying very big files/directories
- Added possibility to use %COMMANDER_PATH% in IcoLibPath
User avatar
Clas Hortien
Member
Member
Posts: 198
Joined: 2003-03-03, 15:03 UTC

Post by *Clas Hortien »

Works like a charm now. Thanks for the update.
User avatar
Vansumsen
Power Member
Power Member
Posts: 761
Joined: 2003-11-09, 08:16 UTC
Location: Belgique
Contact:

Post by *Vansumsen »

2 kajoj1

Beta2 works ok for me.

Just a new wish...
Is it possible to make it easily translatable...(with a Language.lng text file)
"B","KB", "MB", "GB", "Actual files in ", "Directory is empty", ...

Thanks in advance

Friendly

Paul
Ouistiti, #11943

L'important n'est pas de convaincre, mais de donner à réfléchir.
The important thing is not to convince, but to incite to think.

1,77245385090552...
User avatar
StickyNomad
Power Member
Power Member
Posts: 1933
Joined: 2004-01-10, 00:15 UTC
Location: Germany

Post by *StickyNomad »

2kajoj1
Very useful plugin, Thanks!

Just got a tiny request:
Would it be possible to show the overall size of the actual directory somewhere in the window, e.g. like in this (fake) screeenshot?
kajoj1
Member
Member
Posts: 122
Joined: 2005-08-08, 10:24 UTC
Contact:

Post by *kajoj1 »

@Clas Hortien
Works like a charm now.
:)
@Vansumsen
Beta2 works ok for me.
:)
Just a new wish...
Is it possible to make it easily translatable...(with a Language.lng text file)
"B","KB", "MB", "GB", "Actual files in ", "Directory is empty", ...
Is it really need to translate only "Actual files in ", "Directory is empty" ? :wink:

@StickyNomad
Would it be possible to show the overall size of the actual directory somewhere in the window, e.g. like in this (fake) screeenshot?
Yes, no problem :)
User avatar
StickyNomad
Power Member
Power Member
Posts: 1933
Joined: 2004-01-10, 00:15 UTC
Location: Germany

Post by *StickyNomad »

2kajoj1
:D great, thanks!
Post Reply