home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / jsage / zsus / z3help / p.lbr / PATH.HZP / PATH.HLP
Encoding:
Text File  |  1991-11-18  |  2.8 KB  |  68 lines

  1. ;
  2.                                    PATH.COM                                   
  3.  
  4.              Size (recs) CRC   Version    Author/Latest Issue      Disk
  5. PATH.COM       2k (12)   08CE  3.2        Bruce Morgen 6/91        Z3COM7
  6. PATH.4OM       2k (15)   6BC4  3.2        Bruce Morgen 6/91        Z3COM7
  7.  
  8.   1- Syntax  2- Usage  3- Notes  4 - Error Messages  5- Examples of Use       
  9.  
  10.  
  11.    PATH  allows the user to display the current path or set a new  path.   The 
  12. display shows the path in three formats:   Symbolic,  Absolute (DU), and Named 
  13. Directory  (DIR).   The  path expression may intermix any of these formats  as 
  14. desired to express the new path.   For example,  if a user is logged into B0:, 
  15. the path "$0 A$ A0 ROOT" represents the sequence B0 to A1 to A0 to  ROOT.   Vs 
  16. 3.0 (4/84) by R. Conn.
  17. :1
  18.     Syntax   PATH             <-- Display Path
  19.   
  20.              PATH expr [[/]Q] <-- Set Path
  21.  
  22.    "Q" forces quiet operation
  23. :2
  24.  Usage 
  25.  
  26.    The PATH command is used to dynamically change a  memory-based  file search
  27. path or the ZCPR3 command search path.   With PATH, the  user can define a new
  28. path to be followed or he can view what the current path is.
  29.  
  30.    PATH determines the address of the path it is going to  work  with from the
  31. ZCPR3 Environment Descriptor.
  32.  
  33.    The PATH command deals with  path  expressions.   A  path  expression  is a
  34. sequence of directory names  which can be  expressed as  "ambiguous" DU forms,
  35. absolute DU forms, or Named Directory forms.
  36.  
  37.    An absolute DU form indicates just a disk letter (current user is assumed),
  38. just a user number (current disk is assumed), or both a disk letter and a user
  39. number.  An "ambiguous" DU form is one in which the disk letter or user number
  40. or both is replaced  with a  "$" character, meaning "current disk" or "current
  41. user".  A Named Directory form, of course, is simply the name of a directory.
  42.  
  43.    To illustrate, let's say that the user is logged into B1.   The path "$0 A$ 
  44. A0 ROOT" represents the sequence "B0 to A1 to A0 to ROOT".
  45. :3
  46.  Notes 
  47.  
  48.    a. Version 3.2 updates (6/7/91, Bruce Morgen):
  49.       - Z80 opcodes, quiet option, Z3 test, two internal routines cut in favor
  50.         of SYSLIB equivalents, etc.
  51.  
  52.    b. Version 3.1 updates (3/12/85, Joe Wright):
  53.       - Now responds to the quiet flag.
  54.       - Now limits the  declared  path to the length specified in the environ-
  55.         ment. 
  56. :4
  57.  Error Messages 
  58.  
  59. "Bad Expression at <text>"    <-- there was an error in the path expression 
  60. :5
  61.  Examples of Use 
  62.  
  63.    PATH $0 A$ A15        <-- set path from current disk/user 0 to disk
  64.                              A/current user to disk A/user 15
  65.  
  66.    PATH A$ ROOT          <-- set path from disk A/current user to ROOT:
  67.  
  68.