Contents of the LV.DOC file
September 12, 1989
LV - LZH View 1.02 - LZH file directory lister for viewing contents of LZH
files, including self-extracting files. Multiple filespecs and wildcards
may be specified on the command line. Switches available for Wide,
Technical and Brief (filename without path) displays. Converts LZH SFX
files to normal LZH files. Strips extra bytes from ends of LZH files
caused by some file transfer protocols.
To provide a simple means of displaying the directory of an LZH file. The
program attempts to determine if a specified file is in LZH format and
displays an error message if the format is not recognized.
This is a free program. You may use it or give it away as you like.
Please include this DOC file if you do pass it along.
Usage: lv archive_name [archive_name...] [switches]
Switches: /W Wide display, up to five filenames per line
/T Technical information
/B Brief filenames, without path
/P Pause display when screen fills
/U Un-SFX self-extracting files
/X Strip extra bytes from end of file
/A Strip SFX and extra bytes
Switches may appear in any position on the command line. The character '-'
may be used in place of '/' where ever DOS will allow.
Examples: lv /t backup.exe /p *.lzh
lv /b/t/p recurse.dir
lv *.* /w/p
lv /w/u self.exe
In the command format above, 'archive_name' may optionally include a drive
and/or path designation. An 'archive_name' specified without an extension
will result in a search for all extensions.
Use the /W switch to list the names only of files included in a LZH file.
Names are displayed up to five per line.
Use the /T switch to get detailed technical information about each file
contained in the LZH file.
Use the /B switch if the LZH file being listed include pathnames and you
wish to just focus on the filenames. This option has no effect when used
with the /W switch, as the Wide option does not include pathnames by
Use the /P switch to pause the display after each screenful of information.
After pausing, the program will prompt for a key press. Pressing at
this point will advance the display by one line. will terminate the
program. Any other key will display another screenful of output, with an
overlap of one line, provided there is enough output to fill another
As an alternative to the /P switch, pressing any key, except , while
the programming is displaying, will temporarily pause the display.
Pressing any key after pausing, except , will resume the display.
will terminate the program.
Use the /U switch to convert a self-extracting (SFX) LZH file to a normal
LZH file. This option has been added as a faster alternative to extracting
the contents from an SFX file and re-archiving them to form a regular LZH
file. A new file will be created with the same name as the SFX file but
with the .LZH extension, provided a file with the same name doesn't already
exist. The reconstructed LZH file will have the same date and time as the
Use the /X switch to strip 'eXtra' bytes from the end of a LZH file, often
caused by XMODEM-type file transfer protocols. This will truncate the file
to reflect its "true" size.
Whereas the /U switch creates a new file by copying, the /X switch actually
modifies the original LZH file itself. As a security measure, you may want
to retain a backup copy of any file on which you wish to use this switch,
until you're sure that the resulting changes are what you want.
Using the /A switch is equivalent to specifying both /U and /X. It first
strips any extra bytes, then creates a new .LZH file that is stripped of
all extra trappings.
At any time the program is displaying data, will end program
Typing just the program name by itself will display a simple help screen.
Other programs which I have written and contributed to the public domain
CAL - Calendar V1.00 - 06/03/89 - A simple, pop-up calendar display program
that can be used as a sort of perpetual calendar. Valid years range from
0001 to 9999 (arbitrary). This program is NOT memory-resident. Scroll
through the different months and years. Although the executable file is
stand-alone, I don't consider this to be a complete program. I've
contemplated using the included routines as the starting point for a
scheduling program, for example. Source code included.
CRC-M2 - Cyclic Redundancy Checker V1.00 - 07/12/89 - This tiny CRC program
accepts wildcards and multiple filespecs from the command line. Displays
same CRC values as PKPAK and LHarc. This type of program is usually
written in assembly language. In fact, I've adapted the algorithms from
some publicly available assembly language routines. Source code included.
DIRDEL - Directory Delete V1.24 - 07/15/89 - This program will delete
entire subdirectory trees - even those containing read-only, hidden and
system files and directories. It will even delete the current directory.
The executable file for this version is significantly smaller than before.
Source code included.
FIX - File Fix V3.01 - 09/03/89 - A binary editor which allows easy
editing of any file regardless of attributes. Searches available from
within a file: 1) text search, with wildcard support and 2) byte search,
which can find arbitrary sequences of bytes specified by the user,
including nulls, machine code and binary data. Also includes a scroll bar
indicating relative file position, file header support and 256-byte default
FFIND - File Finder V1.06 - 07/31/89 - This program will find any file or
subdirectory on your hard disk, including hidden and system files.
Wildcards are accepted. Improvements for this version include an overall
increase in speed and a smaller executable filesize. Source code included.
ZV - ZIP View V1.12 - 09/09/89 - ZIP file directory lister for viewing
contents of ZIP files, including self-extracting files. Multiple filespecs
and wildcards may be specified on the command line. DOS-compatible
switches available for Wide, Technical and Brief (filename without path)
displays. Converts ZIP SFX files to normal ZIP files. NEW OPTIONS: 1)
strip ZIP file comments and 2) strip extra bytes from end of ZIP files
caused by file transfer protocols.
You may send your suggestions and comments to me at the addresses below:
By conventional mail:
Raymond T. Kaya
P. O. Box 1436
Honolulu, HI 96806
By electronic mail: