home *** CD-ROM | disk | FTP | other *** search
- DSize - a program to display number of files and number of bytes in each
- directory on a particular disk. 32 bit version for OS/2 version 2.0
- and later only. Will not run on DOS and prior versions of OS/2.
-
- Copyright 1990, 1991, 1992 SPW Consulting
- Direct comments to Scott Walton, Compuserve 71177,576
-
- May be freely used and exchanged, so long as it is not modified or
- sold for more than the cost of duplicating disks (not to exceed $10).
-
- Usage: Dsize [drive letter] .... [drive letter] /options
- The drive letter may be omitted or repeated. The default is the
- current drive. HPFS drives and FAT drives are supported. Support
- includes long filenames on HPFS drives. Using multiple drive letters
- causes all drives listed to be included.
-
- The output may be redirected (without the header) to support sorting
- via different items, or copying to the printer. The normal output is
- sorted by drive and then by directory name (for HPFS, without regard
- for case).
-
- Each line of the output consists of the number of files (including
- hidden and system files, but not including directories). The second
- field lists the total number of bytes contained in those files. The
- total size is the total of the number of bytes actually used in those
- drives and not the space occupied. Thus the total will not match a
- CHKDSK. The remainder of the line lists the full path to the
- directory. If more than one drive is used, then the full path
- includes the drive letter.
-
- Options allow choice of sort sequences. /Sd specifies sort by drive
- and name (the default). /Sn requests a sort by name only. /Sc
- specifies sort by file count and /ss sorts by file size. Use /s0 to
- suppress sorting. If the sort has been suppressed, the order is
- not predictable.
-
- /total specifies listing the total size and file count in all
- subdirectories, as well as the current directory. If totaling is
- requested, then sort by drive is forced.
-
-