home *** CD-ROM | disk | FTP | other *** search
-
- This archive contains DESQview PIFs, supporting batch files, and
- other various odds and ends for programs you may wish to use with DV Tree.
- The examples are not intended to be usable in all cases without
- modification, and a certain degree of knowledge of DESQview PIF setup and
- batch file programming may be required.
-
- A portion of the contents of this archive are generally relevant
- to users of programs such as PKZIP, LHARC, PAK, and other archiving
- utilities; together, these examples provide ways to use DV Tree and
- DESQview to manage archive files in a multi-tasking fashion. Some of the
- batch files execute a small included utility called DVTUPDAT.COM. This
- utility's one purpose in life is to request DV Tree to refresh its file
- directory display(s). It may be run from any window within DESQview, and
- will simply do nothing if DV Tree is not present. If multiple copies of DV
- Tree are running, the one started first will receive the message.
-
- The best way to get started is to copy these files and PIFs to the
- DV Tree directory, preferably C:\DV\DVTREE as that will require the least
- amount of change. You should copy DVTUPDAT.COM to a directory in the DOS
- PATH, and also ensure that all archiving/dearchiving software you use in
- the DOS PATH as well. The examples here come in the following pairs, with
- the suggested DV Tree DESQview function codes in parentheses:
-
- UA-PIF.DVP/UNARCHIV.BAT(%c%y %p%O)
-
- This batch file takes the pointed-at file extension and checks for
- .ZIP, .ARC, .LZH, .ZOO, or .PAK. When it finds a match it passes the rest
- of the input, the full pathname of the pointed-at file, to the appropriate
- de-archiving utility (PKUNZIP, PKXARC, LHARC, LOOZ, PAK). If the screen is
- split, the archival files will be placed in the directory shown in the
- opposite split. The PIF has a '?' on its parameter which causes it to
- pause before starting the batch file, in this case to allow up to seven
- individual filenames or masks to be specified to limit the scope of the
- file extraction. The PIF has a memory size of 160K; this may be reduced
- to 128K if the PAK utility is not used.
-
- LA-PIF.DVP/LISTARCH.BAT(%c%y %p)
-
- This batch file processes a file extension and executes the
- appropriate program in the same manner as the previous example. Files are
- de-archived to a temporary file (LZ.XYZ), which is then LISTed. This file
- will require editing if your LIST program is not called LIST. When list
- is exited, the temporary file is deleted. Again, the 160K memory size is
- to accommodate PAK.
-
- ZL-PIF.DVP/DVLZIP.BAT(%c%p)
-
- This is a simplified version of the previous example, meant only
- for .ZIP files and tailored to common needs (that of viewing .DOC and
- README or READ.ME files in newly acquired archives.) The same pause
- occurs at startup, but if nothing is entered, the batch file tries to
- extract only *.DOC and READ*.*.
-
- CZ-PIF.DVP/DVCZIP.BAT(%c%p)
-
- This very simple batch file does nothing more than execute a
- program called FV and pause. FV is a shareware utility by Vernon Buerg,
- the author of LIST, and all it's meant to do is list out the internal file
- names of an archive file of any variety. It does this very quickly, in
- very little memory, and I highly recommend it - distributed as FVnnn.*
- (ex: FV132.ZIP), it's also been included in the more recent releases of
- the LIST program (LIST75A, for instance.)
-
-
- Another pair of example files are enclosed for users of
- WordPerfect 5.1 wishing to use DV Tree's reload feature for this
- application. WordPerfect, does not easily lend itself to any of the usual
- techniques as it requires a separate prompt to change directories, and
- then a 'name match' to get to the file you're looking for (you also must
- me, by the way, in 'short' directory mode to get to anything that's not
- already a WP file.)
-
- The following is workable code string for WordPerfect that uses a
- script to trigger a WP macro:
-
- %c%p%A&z&2%d%e%s%e.
-
- The &z code kicks off the {255} script contained in WP-SCRIP.DVS,
- and the script uses ALT-F10 to run the Word Perfect macro TLOAD.WPM. The
- macro pauses first for a directory name (supplied by %d%e), then a file
- name (%s%e). Please note the 2 second delay after the &z. If you use WP
- and would like to try this, you of course must move TLOAD.WPM to your WP
- macro directory, and WP-SCRIP.DVS to your \DV directory (If you've already
- got scripts for WP, however, you might do better just to 'LEARN' the {255}
- script manually (ALT-F10/load TLOAD macro).)
-