home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / jsage / zsus / z3help / c.lbr / CMDRUN.HZP / CMDRUN.HLP
Encoding:
Text File  |  1991-11-18  |  2.6 KB  |  62 lines

  1. ;
  2.                                   CMDRUN.COM                                  
  3.  
  4.              Size (recs) CRC   Version    Author/Latest Issue      Disk
  5.                1k (2)    D918  1.0        R. Conn 6/84             Z3COM2
  6.  
  7.   1- Syntax  2- Notes                                                         
  8.  
  9.  
  10.  
  11.    CMDRU╬á i≤á thσ defaul⌠ ZCPR│ extendeΣ commanΣá processo≥á used¼á e.g.¼á t∩ ì
  12. executσá CO═ file≤ froφ COMMAND.LB╥ file«á  CMDRU╬ i≤ invokeΣ automaticall∙ b∙ ì
  13. ZCPR│á wheε thσ use≥ commanΣ i≤ no⌠ founΣ viß thσ commanΣ searcΦ patΦá anΣá n∩ ì
  14. erro≥ handle≥ i≤ engaged.
  15. :1
  16.  
  17.  
  18.    Syntax:  CMDRUN <text>
  19.  
  20.    ...wherσá'textºái≤ thσ tex⌠ oµ thσ origina∞ commanΣ line«á  
  21.  
  22.    CMDRU╬ái≤áusuall∙ executeΣ b∙ ZCPR│ itself¼ no⌠ b∙ thσ user«    
  23. :2
  24.  
  25. CMDRUN Notes:
  26.  
  27.    a. LRUNZ --> CMDRUN
  28.     
  29.       CMDRUN can be useful on systems with limited disk space by alllowing
  30.       one to group .COM files into a library (.LBR) and to run such files
  31.       from the library.  Rename LRUNZ3.COM to CMDRUN.COM and place on A15:.
  32.       Then, create a library file of the COM files you want named COMMAND.LBR
  33.       and place on A15:.  Any of the COM files in COMMAND.LBR can then be
  34.       invoked by just entering their name.
  35.  
  36.    b. LX --> CMDRUN
  37.  
  38.       One can access libraries other than the conventional default COMMAND.LBR
  39.       by renaming LX.COM to CMDRUN.COM and placing a dash immediately before 
  40.       the directory and library name.  For example:  lx -b9:asm libzas<cr>
  41.       causes the program LIBZAS to run from ASM.LBR in directory B9:.  You
  42.       must declare the directory (either du: or dir:), however, even if the 
  43.       library is on the logged-in directory.
  44.  
  45.  
  46. CMDRUN Notes (continued):
  47.  
  48.    c. ARUNZ --> CMDRUN
  49.  
  50.       ARUNZ is probably the most versatile extended command processor.  
  51.       With ARUNZ renamed to CMDRUN, aliases, placed in ALIAS.CMD, will run 
  52.       simply by typing their name.  In addition, you can run programs from 
  53.       COMMAND.LBR by creating specific aliases in ALIAS.CMD to invoke them.
  54.       'RARELY LX RARELY $*', for example, will run RARELY.COM in COMMAND.LBR.
  55.       Or, you can chain to LX from the ARUNZ ALIAS.CMD file by placing 
  56.       ':LX $0 $*' on the last line of ALIAS.CMD.
  57.       
  58.    d. Under ZCPR3.3, the name of the ECP is assembled into the command
  59.       processor (CMDRUN is default).  If ROOTONLY is turned on, the CCP will 
  60.       look only in the area specified as the last element in the symbolic
  61.       path.  If CMDRUN is not there, the error handler will be invoked.ace was confusing in cases where one wanted deliberately 
  62. to enter a command with  a leading  space