Directory Size v2.01


 

Contents


What is Directory Size?

The Directory Size utility (DirSize) is a DOS program that shows you how much space is used to store your data.

DirSize shows the directory list with the amount of files, the sum of the file sizes and the space allocated by these files.The space allocated by a file but not used to store data is called slack space. You can use it to determine the optimal partition size, the wasted space or to see how far you are filling that CD-R which has a 2k block size compared to the 16k of the hard-disk.

If you are using Windows 95, you can add the DirSize utility so it is only a mouse click away. How to do this? Well, modify the file types. In windows explorer select View from the menu and select Options. After that click the File Types tab. Select type Folder (get there fast by pressing 'f'). Then click on Edit. Now click on New. Fill in with Action: Size. Application used to perform action: d:\directory\DirSize.exe. Where d:\directory\ is the drive and directory where you stored DirSize.exe. To find DirSize.exe use can use Browse. Click Ok, Close, Close. If you right-click on a folder or drive, you will see the new Size option. When you click this option, the computer calculates the size of the directory using the cluster size of that drive.
If you often record a CD, you can change the command line so that it calculates the size using the cluster (block) size of the CD-R. Type 1 CD-ROM has a 2048 byte block size, other types can be 2336 or 2352. The command will then be like: d:\directory\DirSize.exe /c:2048. For the explanation of the parameter see below.

Text file with the result of DirSize without subdirectory totals (contains IBM characters)

Text file with the result of DirSize with subdirectory totals (contains IBM characters)

 

Screenshot of Directory Size

Back to Top

Usage


DIRSIZE [/C[:]{Size}] [/P] [/S] [/?] [{Directory}]

/c{Size} {Size}: is the size of one cluster.
Usual values for hard-disks are: 512, 1024, 2048, 4096, 8192, 16384 or 32768.
CD-R has sizes of: 2048, 2324, 2336 and 2352. Usually 2048
The default value is the cluster size of the current drive.
/p Pause after a screen
/s The subtotal option. With this on, the size of a directory
with its subdirectories will also show.
{Directory} Start in a different directory
/? Get help
Back to Top

Download It

Download Directory Size Download Directory Size v2.01 file dirsize.zip

Back to Top

Go Home Return to the DHZ Software Home Page

Copyright 1997 DHZ Software.
Mail
DHZ Software
Last revised: augustus 26, 1997.

 

1