home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 15 / CD_ASCQ_15_070894.iso / vrac / xpcbpth2.zip / XPCBPATH.DOC < prev    next >
Text File  |  1994-06-10  |  3KB  |  81 lines

  1.                    XPCBPATH
  2.                  version 1.2
  3.                  June 8, 1994
  4.  
  5. -----------------------------------------------------------------------------
  6. FREEWARE from:    Key Software Products    BBS: (415) 364-9847
  7.         440 Ninth Avenue         (evenings & wknds)
  8.         Menlo Park, CA 94025    E-Mail: tech.support@ksp.com
  9. -----------------------------------------------------------------------------
  10.  
  11. WHAT:    Extends PCBoard's 30 character limit on paths and filespecs.
  12.  
  13. WHY:    The Internet INFO CD-ROM from Walnut Creek CD-ROM uses a very
  14.     deeply nested directory structure on the CD.  This requires
  15.     path names in the corresponding DIR.LST and DLPATH.LST files
  16.     that need to be as much as 80 characters long; PCSetUp only
  17.     allows for 30 characters in any path or filespec.
  18.  
  19. HOW:    XPCBPATH is a TSR that intercepts calls to MS/DOS functions
  20.     3Bh (Set Current Directory), 3Dh (Open File), 4300h (Get
  21.     File Attributes), and 4Eh (Find    First).
  22.  
  23.     XPCBPATH compares the beggining of the ASCIIZ string pointed
  24.     to by DS:DX against an internal list of substrings. If a
  25.     match is found, XPCBPATH substitutes a (longer) replacement
  26.     string for the matched prefix.  For example, if the internal
  27.     table contained:
  28.  
  29.         Look For    Replace With
  30.         --------    ------------
  31.         Z:\$DIR1    D:\ANSWERS\FAQS\INTERNET\TRAFFIC
  32.  
  33.     and the DS:DX string was:
  34.  
  35.         Z:\$DIR1\DATA\
  36.  
  37.     Then it would be replaced by:
  38.  
  39.         D:\ANSWERS\FAQS\INTERNET\TRAFFIC\DATA\
  40.  
  41. USAGE:    XPCBPATH expects a single command line argument which should be
  42.     the name of a text file.  The file should consists of up to
  43.     100 lines of text.  Each line is a replacement specification
  44.     containing a pair of strings ("Look For", followed by
  45.     "Replace With") separated by one or more spaces or tabs.
  46.     Extra space at the beginning or end of a line is ignored.
  47.  
  48. NOTES:    If you have a network of machines running multiple PCBoard
  49.     nodes, you must install XPCBPATH on each node.
  50.  
  51.     XPCBPATH does NOT intercept MS/DOS functions 41h (Delete File),
  52.     4301h (Set File Attributes), 56h (Rename File), 5Ah (Create
  53.     Temporary File), 5Bh (Create New File), 39h (Create Directory),
  54.     or 3Ah (Delete Directory).  In other words, it is expected
  55.     to be used ONLY with pre-existing files and directories.
  56.  
  57.     Execute XPCBPATH only once per boot!  It does NOT include a
  58.     check to see if it is already resident, and excuting it a
  59.     second time will cause a second copy to become resident.
  60.  
  61. HISTORY:
  62.  
  63. 1.0    Initial release
  64.  
  65. 1.1    Changed replacement search from first match to longest match.
  66.     Eliminated problems when there are two entries of the form:
  67.  
  68.         Look For    Replace With
  69.         --------    ------------
  70.         Z:\$DIR1    D:\ANSWERS\FAQS\INTERNET\TRAFFIC
  71.         Z:\$DIR11    D:\ANSWERS\FAQS\KA9Q
  72.  
  73.     Increased DOS_SIZE from 64 to 80.  DOS places a limit of 64 
  74.     on the path length, but this does not include the drive
  75.     letter (1), colon (1), a slash (1) after the path (64) and
  76.     before the file name, the filename itself (12), and the
  77.     terminating ASCIIZ null (1).
  78.  
  79. 1.2    Presorted data before installing TSR to accelerate search.
  80.     Corrected a problem that left interrupts disabled.
  81.