home *** CD-ROM | disk | FTP | other *** search
- March 6, 1990
-
-
- RView 2.30 - Directory lister & utility for ARC LZH LZS PAK ZIP ZOO. This
- version has been rewritten in C from scratch. New features: An in-memory
- sort is performed before listing archives. Filenames are now positioned on
- the left. Redirection to printer or file results in more legible output.
- The syntax for /C has been extended to include the pathname of a file
- containing comments to be attached to ZIP files. The /T option is greatly
- expanded.
-
- Contents:
- =========
- Disclaimer
- Purpose
- Displayed data
- Commands
- Other programs
- Closing remarks
-
- Disclaimer:
- ===========
- I have tried my best to make RV well-behaved and have included what I
- believe to be reasonable checks into the program. However, it is the
- user's responsibility to read and understand the documentation and take any
- necessary precautions, including backups, if irreplacable files are
- accessible during RV's operation. It is possible that files may be
- modified by RV's doing something other than you expect.
-
- RV and this documentation are offered as is. Neither I, nor anyone else
- distributing this software, should be held liable for the software not
- performing as you expect.
-
- Purpose:
- ========
- To provide a single program capable of displaying the directories of
- archives of the more popular formats. The filename extension is ignored
- for purposes of determining the archive type, e.g. a ZIP file with the .LZH
- extension is acceptable.
-
- Also an attempt has been made to include in this one utility various
- features that weren't conveniently provided elsewhere at the time of their
- inclusion in RV.
-
- RV 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.
-
- Displayed data:
- ===============
- This program displays percentages indicating degrees of compression using
- the following formula:
-
- 100 - ( CompressedSize / OriginalSize * 100 )
-
- Thus, the larger the number, the more disk space saved by compressing.
-
- If an archive is determined to be self-extracting, then the letters "SFX"
- follow the name of the base archive type. The program also distinguishes
- between small- and large-model LZH self-extracting archives.
-
- The program displays a report of the total amount of disk space needed to
- extract listed members of an archive to an optionally specified drive. If
- no drive is specified, the current drive is used. In computing the
- required disk space, the actual disk cluster size of the source or selected
- disk is used. The program also reports whether or not there is enough disk
- space for the extraction.
-
- The date and time indicated on the "Totals" line for the default mode when
- viewing an archive represent the date and time of the most recently created
- or modified member of each archive. These are the values used by the /R
- switch in resetting the archive date and time.
-
- After displaying the contents of SFX files, RV displays the size of the SFX
- header in bytes.
-
- Commands:
- =========
- Usage: RV [switches] archive_name [d:] [member_name...]
-
- Switches: /W Wide display
- /T Technical display
- /B Brief filenames, without path
- /P Pause display when screen fills
- /N Natural order listing
- /R Reset date and time of archive
- /D Directory sort of ZIP file
- /L Lax checking
- /S Subdirectory search
- /O Old-format ZIP selection
- /U[path] Un-SFX self-extracting archive
- /C[file] Strip/Add ZIP file comment
- /X Strip extra bytes from end of archive
- /A Strip all - same as /U /C /X
-
- Switches may appear in almost any position on the command line. The
- character '-' may be used in place of '/' wherever DOS will allow.
-
- Examples: RV /t backup.exe /p *.zip
- RV/w bigfile.lzh
- RV /b/t/p recurse.dir
- RV *.* -w-p
- RV /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. Thus typing "RV filename" is
- equivalent to "RV filename.*". Furthermore, typing "RV *" is equivalent to
- "RV *.*", and will result in a search through all files in the current
- directory.
-
- If you wish to search for selected members within an archive, specify the
- members to search for after the archive name.
-
- Example: RV source.zip *.h *.c
-
- Result: Causes RV to search within source.zip for C header and
- source files.
-
- You may specify an optional drive immediately after the archive name to
- have the program check for extraction sizes to the indicated drive.
-
- Example: RV backup.lzh a: *.dbf
-
- Result: Causes RV to display the .DBF members of BACKUP.LZH and
- compute extraction sizes for drive A:.
-
- Use the /W switch to list the names only of files included in an archive.
- Names are displayed up to five per line.
-
- Use the /T switch to get detailed technical information about each file
- contained in the archive.
-
- Use the /B switch if the archive being listed includes pathnames and you
- wish to focus on just the filenames. This option has no effect when used
- with the /W switch, as the Wide option does not include pathnames by
- default.
-
- Use the /P switch to pause the display after each screenful of information.
- After pausing, the program will prompt for a key press. Pressing <Esc> at
- this point 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 screen.
-
- Use the /N switch if you prefer to list archives in the order they are
- stored on disk. If you want this to be the default mode, place the /N
- switch in RV.CFG (described below).
-
- The /R option sets the date and time of the archive to match the date and
- time of the most recently created or modified file contained in the
- archive.
-
- Use the /D switch to perform a Directory sort of a ZIP file. This feature
- was added by user request. Wildcards may be used to select multiple files
- for sorting. During the sort, a temporary work file is created on disk.
- If you do not have enough free disk space to contain a second copy of the
- ZIP file, the sort won't take place. RV doesn't attempt to sort an already
- sorted ZIP file. Using this option is faster than extracting the contents
- of a ZIP file, sorting the directory entries, and then rezipping the files
- up again. Also, ZIP file comments and pathnames can be preserved this way,
- if you wish to keep them. The sorted file will have the same date and time
- as the unsorted file.
-
- The /L option has been added by user request. This Lax option relaxes RV's
- otherwise strict checking for reasonable values (e.g. reasonable filesizes,
- dates and times, etc.) and may allow unusual or damaged files to be listed.
- If RV's default mode isn't able to list what you believe to be an archive,
- try using this switch.
-
- WARNING: Use the /L option sparingly, especially when used in conjunction
- with other options which actually modify archives. Strict checking is on
- by default for your protection.
-
- Beginning with Version 2.20 the /S switch has been added. Proper use of
- the /S switch effectively turns RV into a "file finder" for archives and/or
- their included members.
-
- Example: RV /s *.zip address.dbf
-
- Result: RV searches all .ZIP files in the current directory, and
- all directories below the current one, for any file(s)
- named ADDRESS.DBF.
-
- Example: RV /s * lh* pk*
-
- Result: Searches all files in the current directory, and all
- included subdirectories, for any archives containing files
- matching LH*.* or PK*.*.
-
- Example: RV * lh* pk*
-
- Result: Same as for the previous example, except that the search is
- limited to the current directory only.
-
- Example: RV \123\data\*.arc budget.wk1 /s
-
- Result: Searches directory \123\DATA, and any directories below it,
- through all files with the .ARC extension for any archived
- members with the name BUDGET.WK1.
-
- Example: RV d:\* unique. /s
-
- Result: Searches through all files on drive D: for archives
- containing the filename "UNIQUE" (no extension).
-
- Example: RV \* /s
-
- Result: This will search for and list archives found throughout the
- entire current drive. After all the found archives have
- been listed, the program will report on the total number of
- files searched and the number of archives found.
-
- Use the /O switch to limit your search to ZIP files using old-style ZIP
- compression methods (Reduce1, Reduce2, Reduce3 and Reduce4). This is a
- relatively less permanent option than the others and it is anticipated
- that, after an indeterminate period of time, this switch will be
- discontinued. This feature was added by user request for BBS work.
-
- Qualification: It is _possible_ for pre-ZIP 1.01 type ZIP archives not to
- contain any files compressed with Reduce-type methods. However, it is
- believed that any such files missed by RV's search for obsolete types will
- be minimal.
-
- Used in combination with the /S switch, you can use the /O switch to find
- all the ZIP archives on your hard disk containing these obsolete
- compression types.
-
- Example: RV \* /o /s
-
- Result: RV will start at the root directory of the current disk and
- search _all_ files in all directories for ZIP archives
- containing members compressed with obsolete methods.
-
- Example: RV D:\DOWNLOAD\*.ZIP /o /s /w
-
- Result: This will narrow the search to files on drive D:, in the
- DOWNLOAD directory and also any directories below that, for
- files with just the .ZIP extension (.EXE files will not be
- searched), and will list the pertinent members in wide
- format.
-
- Use the /U switch to convert a self-extracting (SFX) archive to a normal
- archive. This option is included as a faster alternative to extracting the
- contents from an SFX file and re-archiving them to form a regular archive.
- A new file will be created with the same name as the SFX file but with the
- appropriate extension (.ARC, .LZH, .LZS, .PAK, .ZIP, .ZOO), provided a file
- with the same name doesn't already exist. If such a file already exists,
- you are prompted whether to overwrite it or not. The reconstructed archive
- will have the same date and time as the SFX file.
-
- Starting with version 1.20, the syntax for the /U switch has been extended
- to allow specification of a target drive/directory. If /U is specified
- alone, then the /Un-SFXed file will be written to the current directory.
- If you wish to select a different target directory, specify the desired
- drive and/or path immediately following /U (no intervening spaces allowed).
- Even if you use the /A switch, as described below, you must still use the
- /U switch if you wish to write to a target directory different from the
- current one.
-
- Use the /C switch with no arguments to strip ZIP file comments from ZIP
- files. If there are no comments, or if the archive is not a ZIP file, this
- switch has no effect. If a comment is found, this option will also strip
- any extra bytes found at the end of the file. If a valid pathname is
- specified immediately after "/C" (no intervening spaces allowed), then
- comments contained in that file will be attached to any ZIP files specified
- on the command line. The date and time before modification will be
- preserved.
-
- Use the /X switch to strip 'eXtra' or 'eXcess' bytes from the ends of LZH
- and ZIP archives, often resulting from XMODEM-type file transfer protocols.
- This will truncate the archive to reflect its "true" size. The date and
- time before modification will be preserved.
-
- WARNING: Whereas the /U switch creates a new file by copying, both the /C
- and /X switches actually modify the original archive itself. The /D option
- for ZIP files also leaves only a single modified copy after a successful
- sort. As a security measure, you may wish to retain a backup copy of any
- file on which you wish to use these switches, until you are sure that the
- resulting changes are what you want.
-
- Using the /A switch is equivalent to specifying /U /C /X. The program
- first strips any extra bytes from LZH and ZIP files, then strips ZIP file
- comments, if applicable. If the file is a self-extracting archive, RV then
- creates a new file that is stripped of all extra trappings. See the
- warning above on using the /C and /X switches, as the original file will be
- modified as indicated above.
-
- Typing just the program name alone will display a simple help screen.
-
- Beginning with Version 2.00, you may create a "free-form" configuration
- (.CFG) file containing your choice of default switches. This .CFG file
- should be named RV.CFG and may be created or edited with any editor or word
- processor which can handle pure ASCII text files. The format is
- "free-form" in the sense that you may include comments in the .CFG file,
- for example. Be aware that only the first 1024 characters of RV.CFG are
- significant, and that you should avoid the use of the '/' and '-'
- characters in your comments, as these may be interpreted as switches. A
- sample .CFG file is included in the distribution archive for RV.
-
- RV will search for the RV.CFG first in the current directory. If it is not
- found there, then the directories on your PATH are searched. Switches used
- on the command line will override switches included in RV.CFG.
-
- Closing remarks:
- ================
- Although I make my free programs available to anyone who wants to use them,
- please be aware that these programs are really written and updated for two
- groups of people: 1) myself, because I am also a user, and 2) those who
- have used my programs, found any of them of value, and _communicates_ their
- comments and suggestions to me.
-
- As a corollary to this, if you find some value to any of my free programs,
- but feel that certain features are awkward or lacking, and you _don't_
- communicate this to me, you have only yourself to blame.
-
- Another way of looking at this is: Since I receive no monetary
- compensation from my "freeware", a short note from you, either by mail or
- electronically, qualifies as your "registration fee" for using my programs.
-
- You may contact me at the addresses below:
-
-
- By conventional mail:
- ---------------------
- Raymond T. Kaya
- P. O. Box 1436
- Honolulu, HI 96806
-
-
- By electronic mail:
- -------------------
- CompuServe: 71230,2500
- GEnie: R.KAYA1