home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 6 File
/
06-File.zip
/
DRSZ10.ZIP
/
DIRSIZE.DOC
< prev
next >
Wrap
Text File
|
1992-09-27
|
4KB
|
126 lines
Directory Size Information v1.0 for OS/2
Released September 24, 1992
Copyright (c) 1991 by Keith Ledbetter
This program may be used and/or distributed free of charge!
_______
____|__ | (tm)
--| | |-------------------
| ____|__ | Association of
| | |_| Shareware
|__| o | Professionals
-----| | |---------------------
|___|___| MEMBER
Written by Keith Ledbetter
4240 Ketcham Drive
Chesterfield, VA 23832
(804) 674-0780
(6:00pm - 10:00pm Eastern Time)
Electronic mail on GEnie : ORION.MICRO
CompuServe: 72240,1221
AOL: KLedbetter
Program and Documentation are Copyright (c) 1991 by Keith Ledbetter.
All rights reserved.
Directory Size Information Page 1
Introduction
Introduction
------------
Thank you for taking the time to download DIRSIZE. DIRSIZE is a program
that allows you to quickly and easily determine the total size (in both
files and bytes) of any directory. Please note that by "directory"
DIRSIZE means the "named directory" plus all "child directories" under that
directory. In other words, if you do a DIRSIZE of your C:\ root directory,
you'll actually see how many files/bytes are occupied on your entire C: hard
drive.
How it works
------------
Invoking DIRSIZE is simple. First, you should copy DIRSIZE to one of the
directories listed in your PATH variable (most people have a directory named
UTILS or PROGRAMS, etc). Then you will be able to execute DIRSIZE no matter
where you currently are on your hard drive.
To invoke DIRSIZE, simply type:
DIRSIZE [directory_name]
If you don't specify a directory name, DIRSIZE will operate on the current
default directory. You can also specify directory names on other drives,
or "logical" directories (such as ".."). A few examples:
DIRSIZE - the current directory
DIRSIZE E:\Utils - the E:\UTILS\ directory
DIRSIZE .. - the current directory's parent directory
DIRSIZE "i:\A long directory" - supports HPFS, too!
You can also specify a FILEMASK with DIRSIZE if you wish. I doubt that
this option will be used very often, but you can use it to only get the file
sizes of specific files in a directory. Some examples:
DIRSIZE *.c - all .C files in this directory
DIRSIZE E:\WINDOWS\*.BAT - all .BAT files in the Windows directory
Directory Size Information Page 2
Command Line Switches
Switch: -P
Meaning: page break
Description: The '-p' switch tells DIRSIZE to stop the screen display and
wait for a keypress after every 24 display lines. Note that
this switch is ignored if you are redirecting the output of
DIRSIZE to something other than the screen.
Switch: -T
Meaning: only show the totals
Description: The '-t' switch tells DIRSIZE to only display the totals and
not each individual directory. Only the "top level"
directory name will be shown, but all "child" directories
WILL be scanned as normal.
Switch: -?
Meaning: help!
Description: The '-?' causes DIRSIZE to display a short help screen and
then abort the program.
End of document.