home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Supreme Volume 6 #1
/
swsii.zip
/
swsii
/
165
/
LSDIR_10.ZIP
/
LSDIR.DOC
< prev
next >
Wrap
Text File
|
1991-09-10
|
12KB
|
309 lines
Led's Stacker Directory
Copyright (c) 1991 by Keith Ledbetter
This is a FREEWARE program.
_______
____|__ | (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)
Tech Support BBS: Blue Ridge Express
804-790-1675
30 Phone Lines (2400 bd)
Sub-board KEITHL
("J KEITHL")
Electronic mail on GEnie: ORION.MICRO
CompuServe: 72240,1221
BIX: kledbetter
Program and Documentation are Copyright (c) 1991 by Keith Ledbetter.
All rights reserved.
Portions Copyright Borland, International. LSDIR is written in Borland C++.
Led's Stacker Directory Page 1
Led's Stacker Directory (LSDIR) is my "quick-fix" answer to making a more
intelligent SDIR command. Since Stac Electronics has not yet released any
developer information on Stacker volumes and the Stacker/DOS interface, this
program must do what is at best called a "kludge" among programmers:
- It calls Stac Electronic's SDIR command (which came with
your Stacker package), redirecting the output of the SDIR
command to a temp file on drive C:. This means that the
SDIR command MUST BE IN SOMEWHERE IN YOUR PATH!
- It then reads this temp file in and manipulates the data to
do the directory listing.
The main reason I wrote LSDIR is because I don't like the way Stac's
SDIR command displays compression ratios in the form of 12.6:1. Just
try figuring out what that REALLY means at 2:00am in the morning! LSDIR
displays the compression ratio in "PKZIP-type" fashion (eg: 76%). The
normal output of the SDIR command looks like this:
SAC LIB 170257 6-07-91 12:00a 1.8:1
STARTC OBJ 324 6-07-91 12:00a 16.0:1
_SAC LIB 172251 6-07-91 12:00a 1.8:1
SAM LIB 167341 6-07-91 12:00a 1.8:1
17 File(s) 26845184 bytes free
Directory compression ratio = 1.8:1
The default output from LSDIR looks like this:
sac lib 170257 6-07-91 12:00a ( 45%)
startc obj 324 6-07-91 12:00a ( 94%)
_sac lib 172251 6-07-91 12:00a ( 45%)
sam lib 167341 6-07-91 12:00a ( 45%)
17 File(s) 26845184 bytes free
Directory compression ratio = 45%
In the above example, the display for "sac.lib" is saying that the file was
compressed by 45%. If you specify the "/r" switch, then LSDIR will
"reverse" the compression display like this:
sac lib 170257 6-07-91 12:00a ( 55%)
startc obj 324 6-07-91 12:00a ( 6%)
_sac lib 172251 6-07-91 12:00a ( 55%)
sam lib 167341 6-07-91 12:00a ( 55%)
17 File(s) 26845184 bytes free
Directory compression ratio = 45%
When reversing the display, the program now shows that "sac.lib" is taking
up 55% of its original disk space. If you specify the "/c" switch, LSDIR
will also show SDIR's "nn:1" compression values, like this:
Led's Stacker Directory Page 2
sac lib 170257 6-07-91 12:00a 1.8:1 ( 45%)
startc obj 324 6-07-91 12:00a 16.0:1 ( 94%)
_sac lib 172251 6-07-91 12:00a 1.8:1 ( 45%)
sam lib 167341 6-07-91 12:00a 1.8:1 ( 45%)
17 File(s) 26845184 bytes free
Directory compression ratio = 1.8:1 (45%)
The last two switches that you can specify are the "/p" switch, which
pauses the display when the screen fills up, and the "/?" switch, which
displays a short help screen.
Remember, the SDIR.EXE program from Stac Electronics must be somewhere in
your PATH so that LSDIR can find it. If you use an "aliasing" command
shell such as NDOS, 4DOS, or DOS 5's DOSKEY, you can ALIAS LSDIR to SDIR
with a command like this (for 4DOS or NDOS):
alias sdir `lsdir`
The LSDIR environment variable
------------------------------
By default, LSDIR creates (and then deletes) a temporary file named
C:\LSDIR$$$.$$$. If you don't have sufficient disk space on drive C:,
you can tell LSDIR to create it on another drive by setting the LSDIR
environment variable. For example, "SET LSDIR=D" would cause the temp
file to be created in the root directory of drive D:.
Led's Stacker Directory Page 3
Update History
--------------
v1.0 9-Sep-91 Initial release.
Led's Stacker Directory Page 4
Keith Ledbetter's Software Catalog
Keith Ledbetter's Software Catalog
----------------------------------
Listed below is a chart of my other shareware and freeware utilities,
along with the current version number of each. Also listed is the
filename that you will find them under on BBS systems (please note that
they may be different on your favorite BBS's, but it should help you at
least get close to locating them). When you register one of my Shareware
programs, you will receive a disk with all of these utilities on it.
Filename Version Description
----------- ------- -------------------------------
SST_53a.ZIP 5.3a The ultimate file-finder program.
PC World magazine called SST "the Concorde
of file-finder programs.
Shareware: $15
LCD_40b.ZIP 2.1a "Led's Change Directory" is an intelligent
directory changing program. This program was
voted one of "the 10 best utilities of 1990"
by the "Public (software) Library" magazine.
Shareware: $15
AV_12.ZIP 1.2 "Archive Viewer" is used to display the names
of members of all of the popular archiving
programs (ZIP, ARC, LHARC, PKARC, ZOO, PAK).
No longer do you have to struggle remembering
the syntax to 6 different archiving programs.
Freeware: $0
X_30.ZIP 3.0 "X: The Executioner" can save you a lot of
disk space. X allows you to ZIP down those
seldom-used-but-hard-to-delete .COM, .EXE,
and .BAT files into one system "Command
Library". You can then execute them easily
by simply typing an "x" in front of the
command line (eg: "x chkdsk c:").
Freeware: $0
ADMENU30.ZIP 3.0 If you own an Adlib Music card, you need this
program. It allows you to ZIP down all of
those .ROL song files you've accumulated, yet
still play them with no extra effort! Uses
a mouse-able, easy-on-the-eyes window system.
Freeware: $0
DELDIR12.ZIP 1.2 "Delete Directory" allows you to delete an
entire directory (and all directories under
it) with one quick command. You will be
shown totals of what you are about to delete
Led's Stacker Directory Page 5
Keith Ledbetter's Software Catalog
and then be asked to confirm (the confirm
process can be over-ridden from the command
line).
Freeware: $0
DIRSIZ11.ZIP 1.1 "Directory Size Information" allows you to
easily determine the total size (in both
files and bytes) of any directory.
Freeware: $0
DUPICO10.ZIP 1.0 "Duplicate Icon Deleter" is for any Windows
3.0 user who has accumulated tons of icons.
It will go through a directory and delete all
duplicate icon images, regardless of what they
are named.
Freeware: $0
TIMER10.ZIP 1.0 This program allows you to easily time the
execution of any program. Simply use TIMER
to invoke the command (eg: "timer chkdsk C:")
and you will be shown, at the completion of
the command, the elapsed time.
Freeware: $0
UNTAB10.ZIP 1.0 One of the fastest "un-tab" programs you will
find. It takes the specified input file and
copies it to the specified output file,
replacing all tab characters with hard blanks
(you specify the "tab size").
Freeware: $0
You can download all of these files from the Blue Ridge Express in
Richmond, VA. This is the official tech support board for all of my
software, and there's a special "Keith Ledbetter" message section where
you can quickly get your questions answered. Once you log on, just do
a "J KEITHL" to join my sub-board. First-time callers have access to
both my message base and all of my download files.
The Blue Ridge Express is a first-class BBS, with 30 phone lines; no
need to worry about getting a busy signal! The number is:
The Blue Ridge Express BBS
804-790-1675
Led's Stacker Directory Page 6
Keith Ledbetter's Software Catalog
All of my software can also be obtained from the following places:
Alternative Personal Software
269 Springside Drive Suite C
Hamilton, Ontario
Canada L9B 1P8
Tel: (416) 577-4068
PC Assist Limited
4 Carruber's Close
135 High Street
Edinburgh, EH1 1SJ
Scotland
Tel: 031-557-6432
BroCo Software
P. O. Box 446
3760 AK SOEST
Holland
Tel: 31-2155-26650
EURO BOARD
John Warren
Postfach
3920 ZERMATT, VS
Switzerland
BBS: (0228) / 476-111-06 (Swiss Telepac)
End of document.