Copyright: (c) 1996-1997 by Joachim Marder


Contents
TreeSize Professional

TreeSize professional is a powerful and flexible space manager for Windows 95 and Windows NT4. TreeSize shows you the size, allocated & wasted space, the number of files and much more information for several folders or drives you choose. The application has an intuitive Explorer-like User interface and it is fast and multithreaded. You can print detailed reports, 3D bar and pie charts or export the collected Data to Excel or an ASCII file. TreeSize Pro can be started from the context menu of every folder or drive.

For every button and menu item in the TreeSize window, a short description is displayed in the status bar. If you have further questions, you can contact the author.

 Printing

 View Menu

 Context Menu

 Sorting

 Options

 Charts

 Wasted Space

 Tips & Annotations

 Registration


Author
The Author

Joachim Marder

An der Kastilport 3

54295 Trier

Germany

E-Mail: marder@explorer.uni-trier.de

WWW: http://www.informatik.uni-trier.de/CIP/marder/


Tips and Annotations
Tips & Annotations

•	The wasted space is the amount of space in clusters, which are not completely filled (the last cluster of a file or if the file is smaller than one cluster). The filesystem of Windows 95 has very big cluster sizes (up to 32kb), so the amount of wasted space may be very large (up to 25%).

•	To reduce the wasted space on your harddisk, put folders with a lot of wasted space on a compressed drive, or use Windows NT with NTFS or the new Windows 95 OEM Release 2 with FAT32.

•	On a compressed drive, the values for allocated and wasted space may be incorrect. Normally, on a compressed drive there is nearly no space wasted, but it depends on the type of compression software.

•	When scanning large drives or network drives, it may be better to use no sort criteria, because otherwise the folders will constantly change their position in the tree

•	If the list is visible on the right side of the window, TreeSize Professional will print a detailed directory list. If the charts are displayed on the right side, it will print the charts.

•	All Folders, which are visible in the window, will be printed in the directory list. If you want a complete report, select the top folder and make a "full expand"

•	The last access date is the day when a file was used the last time, e.g. when a program was executed, a DLL was loaded or a Bitmap was shown. So if a file was not accessed for over a year, it is probably not needed on your system. This is great to remove unused DLL from your Windows and System directory.

•	The <Del>-Key deletes files and folders in the details list like in the explorer.

•	If you don’t want to see all columns, then drag the unwanted columns header to zero size. It is possible to expand it again later.

•	With a user defined cluster size, you can look what the values for occupied and wasted space would look like with an other cluster size on your disk. A rescan of the current Folder(s) is necessary when you change the user defined cluster size.

•	You can use the CD-ROM clustersize to determine, how much space a directory tree would occupy on a CD-ROM. There may be a difference of about 0.25% to the real size on a CD-ROM. Use the ‘user defined cluster size’ for exact values.

•	You will only get sensible values for allocated space, wasted space, free space and Bytes per cluster if you select file system folders. Folders like the "Network Neighborhood" can contain several drives with different cluster sizes. Also windows is only able to get the correct cluster size of a network drive, when it is connected to a drive letter.

•	The 'filter' and 'user defined cluster size' settings are not saved to the registry in order to avoid wrong values using TreeSize next time

•	In the ‘Recycled’ Folders you will not see the same file names like in the explorer. This is necessary to get the size and the last acess date


Registration

Thank you very much for your interest in TreeSize Professional!

There are different ways for ordering:

1.	Secure Online Registration is possible from the TreeSize Professional Web Page (address below)
This service is provided by Share-It! Registration Service (www.shareit.com)

1.	Fill out this order form, sign it and put it together with 30 US$ or 40 DM into an envelope and send it to the address at the end of this page.

2.	European users can put a check of 40 DM into the envelope instead.

After registering, you will receive the address of the (secret) download page for registered users, where you can download the registered version and all future versions of TreeSize Professional. Therefore it is important, that your e-mail address is correct and written in clear letters. Registered users will get support via e-mail and all future updates are free. If you want to receive TreeSize Professional on 3.5" diskette, please add 5$ / 5 DM for shipping and make a note below. Select File|Print to print this page.

                                                 Order Form

    I would like to register TreeSize Professional.

    I agree not to give the registered version to third parties.

    I accept the disclaimer of warranty.

 Name	_______________________________  Company __________________________

 Address 	__________________________________________________________________

 Address 	__________________________________________________________________

 City    	_________________   State/Prov. ______________   Zip/Postal Code _________

 Country 	__________________________________________________________________

 Phone   	_______________________   E-Mail ____________________________________

                                                               (important!)

 Signature    ____________________

 (important!)

 Send this to:	Room for comments:

    Joachim Marder

    An der Kastilport 3

    54295 Trier

    Germany

 E-Mail  : marder@explorer.uni-trier.de

 WWW-Page: http://www.informatik.uni-trier.de/CIP/marder/treesize.html


Printing

TreeSize Professional has flexible and extensive print functions. If the TreeSize Window currently shows a chart and you select Print, then this chart will be send to your printer. If you see the list with the details of the folders, then TreeSize will print a directory tree including detailed information about each folder. Notice, that exactly those folders are printed in this directory tree, which are visible on the left side of the window. If you want a complete report, select the root folder, choose ‘Full Expand’ from the context menu and then print. You can use the Page Setup Dialog to adjust the margins for printing. Use the Print Setup Dialog to choose a printer.


View Menu

You can choose different types of values in the tree on the left side:

Size	This value shows the size of the files in a folder, including all subfolders

Allocated Space	This value shows how many bytes are allocated on disk for this folder, including all subfolders

Percent	This value shows how many percent of the parent folders size each folder occupies

Wasted Space	This value shows how much space is wasted by the filesystem for the storage of all files in this folder, including all subfolders

CD-ROM Cluster Size 	This value shows how much space a folder would occupy on a CD-ROM

Options 	Displays a options dialog box options dialog box where you can specify the view and scan preferences


Sorting

Sort by size	The largest folders will be displayed first

Sort by name	The folders will be sorted alphabetically

No Sort	No Sorting is performed. Useful when scanning large folders on network drives, because folders don’t change permanently their position


Charts

TreeSize Professional can draw different kind of charts. Most suitable for displaying folder sizes are pie and bar charts. A chart always shows the size of the subfolders of the currently selected folder. A pie chart shows the size, allocated space, wasted space, ... dependent on what the user selected in the toolbar. The bar chart shows the size, allocated and wasted space together in one chart, because  ‘size’ + ‘wasted space’ = ‘allocated space‘. If a bar chart doesn’t fit to the window size, a scrollbar is displayed which allows scrolling in the chart.

The position of the legend and of the toolbar can be changed by dragging it with the mouse, possible positions are on top, left, right, bottom or in a floating window. The legend and the chart borders can be resized with the mouse. Double clicking on a slice or bar shows detailed information about the corresponding folder. You can choose ‘Chart Toolbar’ in the options dialog to display a special chart toolbar, which allows you to manipulate the charts in several ways, for example zooming, setting fonts and titles, changing colors and patterns, etc. The buttons will show tool tips when the chart panel is active. When a chart is printed, it will be printed exactly as you see it on the screen.


Context Menus
The Context Menus

When you right click on a folder or file, TreeSize will display the explorer context menu. Additionally you will find the following menu items in the context menu:

Full Expand	Expands the selected folder and recursively all the child folders

Full Collapse	Collapses the selected folder and recursively hides the subfolders

The root folder has a different context menu. Here you will find additionally these item:

Remove from TreeSize	Remove this folder from the TreeSize window

Update	Rescan this folder and update information

Print	Print information only about this folders. Note: Print from the File menu will print information for all Folders on the left side of the window. (Printing)


Options

This dialog box allows you to specify your view and scan preferences. On the view tab, you can specify the following options:

Show Values as	Allows you to specify if the values are displayed as megabytes or kilobytes. Additionally you can select a mixed mode, where all values greater than 100,000,000 kilobytes are displayed as megabytes.

Show Files	When this option is selected, TreeSize will display the files of a folder summarized in one object in tree. Also all files of a folder will appear in the list on the right side of the window

Chart toolbar	This will display an additional toolbar for the Charts.

Decimals	number of decimals which will be visible after the dot when TreeSize displays or prints values.

Bold Factor	If the size of folder is more than this percentage of the complete size of the scanned folder, the folders label is bold. If you don’t want bold folder labels, specify ‘100%’.

If you make changes on the scan tab, a rescan of the currently listed folders is necessary. These options are not saved in order to avoid wrong results when using TreeSize next time. You have the following scan options:

Filter(s)	If you want to have information only about certain types of files, you can specify a filter. If you just want to count Executable files and their libraries, specify ‘*.exe *.dll’ here. If you want to include all files use ‘*’.

Show Error Messages	Here you can decide if TreeSize Professional should show error messages during scanning. If you for example scan a network drive on a Windows NT server, where you don’t have read access to all folders, Windows will pop up an error message for every unreadable folder. If you don’t want the scanning process interrupted through these message boxes, deselect this check box.

User Defined Cluster Size  Use this option to look, what the values for allocated and wasted space would look like with another cluster size or file system.


Show all values in Megabytes only, in Kilobytes only or in a mixed form (small values in kb, large values in mb)


When this option is selected, TreeSize will display the files of a folder summarized in one object in tree. Also all files of a folder will appear in the list on the right side of the window.


This will display an additional toolbar for the Charts.


number of decimals which will be visible after the dot when TreeSize displays or prints values


If the size of folder is more than this percentage of the complete size of the scanned folder, the folders label is bold. If you don’t want bold folder labels, specify ‘100%’.


If you want to have information only about certain types of files, you can specify a filter. If you just want to count Executable files and their libraries, specify ‘*.exe *.dll’ here. If you want to include all files use ‘*’.


Use this option to look, what the values for allocated and wasted space would look like with another cluster size or file system.


When this option is checked, TreeSize Professional shows error messages during scanning (e.g. ‘Unreadable folder’)


Wasted Space

The wasted space is the amount of space in harddisk clusters, which are not entirely filled. Keep the following formula in mind: ‘size’ + ‘wasted space’ = ‘allocated space‘. Windows 95 with its file system FAT may have very large cluster sizes, dependent on the partition size:

Partition	Cluster Size

128-256 MB	4096 bytes

257-512 MB	8182 bytes

513-1024 MB	16384 bytes

1025-2048 MB	32768 bytes

Partitions larger than 2 GB aren’t possible with FAT. If you for example have a single partition on a 1.2 GB harddrive, you have a cluster size of 32 kb on it. If you want to store 10 files of 1 kb on this partition, this would use 10*32kb = 320kb of your precious harddisk space, 320kb-10kb = 310 kb are wasted.

To reduce the wasted space, there are the following (not very satisfying) possibilities:

•	Make smaller partitons. Don’t make partitions larger than 1024MB, because partitons larger than 1024MB will have a cluster size of 32kb and a lot of wasted space. People reported wasted space up to 25% on 2GB partitions. Of course smaller partitons will increase the number of drive letters.

•	Put files which are small or rarely used on a compressed drive. You can use DriveSpace, which comes with Windows 95, to create a compressed drive. DriveSpace always fills the clusters completely and in addition tries to compress the stored files with a fast algorithm. The access time to the files on a compressed drive will be a bit slower. So don’t put your windows directory or similar directories on this drive.

•	Use the new Windows 95 OEM release 2. It provides the file system FAT32, which operates with 4kb clusters. FAT32 is completely incompatible to the old FAT, so be careful using old disk repair utilities on it. The Windows 95 OEM release 2 is only available together with a new PC.

•	Windows NT provides the possibility to format your harddisk with the NTFS file system. It usually operates with 512 byte clusters and has the best storage efficiency of all Windows file systems. NTFS partitions cannot be accessed from Windows 95 or DOS. In addition, NTFS can compress selected directory branches. The compression is invisible to the applications and you don’t need a new drive letter.