home *** CD-ROM | disk | FTP | other *** search
- INTRODUCTION
-
- Sizer reports the size of selected disk objects (including
- subdirectories). It reports the number of bytes in all plain files and the
- number of blocks occupied by files and directories. It is intended for the
- Workbench user who wants to know if there is room to drag-copy one or more
- icons.
-
- I wrote Sizer for three reasons. First, I wanted it for my own use.
- Second, I wanted to learn how to use the Workbench startup module. Third, I
- wanted to learn how to examine the contents of directories using Examine()
- and ExNext().
-
-
- INSTRUCTIONS
-
- Sizer works only from the Workbench. If started from the CLI it will
- terminate without doing anything.
-
- Select Sizer and all the objects you want sized using extended
- selection. Click once on the Sizer icon. Hold down the shift key and
- select the objects you want sized. Double-click on the last one. Sizer
- will open a window and show you the number of bytes and blocks. While Sizer
- is working the numbers will keep changing. When it finishes it will write
- "Program completed. Select close gadget to exit." into the window. If the
- program fails for some reason it will indicate "Program failed. Select
- close gadget to exit."
-
- While Sizer is running you can cancel it by selecting the close gadget.
- Sizer will stop executing and close the window.
-
-
- BUGS
-
- Sizer makes the assumption that each file will require one block for
- its directory entry. That seems to work in practice. I couldn't find
- anything in the documentation that confirms that relationship, though. If
- that relationship doesn't hold Sizer may report fewer blocks than are
- actually required.
-
-
- DISTRIBUTION
-
- Sizer may be freely redistributed for non-commercial use.
-
-
- AUTHOR
-
- Fabbian G. Dufoe, III
- 350 Ling-A-Mor Terrace South
- St. Petersburg, Florida 33705
- Telephone: 813-823-2350
- GEnie: F.DUFOE3
-