home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
CPM
/
ZCPR33
/
A-R
/
C-HELP.LBR
/
CMDRUN.HZP
/
CMDRUN.HLP
Wrap
Text File
|
2000-06-30
|
3KB
|
65 lines
;
) CMDRUN.COM (
Size (recs) CRC Version Author/Latest Issue Disk
1k (2) D918 1.0 R. Conn 6/84 Z3COM2
==============================================================================
CMDRU╬á i≤á thσ defaul⌠ ZCPR│ extendeΣ commanΣá processo≥á used¼á e.g.¼á t∩ ì
executσá CO═ file≤ froφ COMMAND.LB╥ file«á CMDRU╬ i≤ invokeΣ automaticall∙ b∙ ì
ZCPR│á wheε thσ use≥ commanΣ i≤ no⌠ founΣ viß thσ commanΣ searcΦ patΦá anΣá n∩ ì
erro≥ handle≥ i≤ engaged.
) 1- Syntax 2- Notes (
:1
Syntax: CMDRUN <text>
...wherσá'textºái≤ thσ tex⌠ oµ thσ origina∞ commanΣ line«á
CMDRU╬ái≤áusuall∙ executeΣ b∙ ZCPR│ itself¼ no⌠ b∙ thσ user«
:2
CMDRUN Notes:
a. LRUNZ --> CMDRUN
CMDRUN can be useful on systems with limited disk space by alllowing
one to group .COM files into a library (.LBR) and to run such files
from the library. Rename LRUNZ3.COM to CMDRUN.COM and place on A15:.
Then, create a library file of the COM files you want named COMMAND.LBR
and place on A15:. Any of the COM files in COMMAND.LBR can then be
invoked by just entering their name.
b. LX --> CMDRUN
One can access libraries other than the conventional default COMMAND.LBR
by renaming LX.COM to CMDRUN.COM and placing a dash immediately before
the directory and library name. For example: lx -b9:asm libzas<cr>
causes the program LIBZAS to run from ASM.LBR in directory B9:. You
must declare the directory (either du: or dir:), however, even if the
library is on the logged-in directory.
CMDRUN Notes (continued):
c. ARUNZ --> CMDRUN
ARUNZ is probably the most versatile extended command processor.
With ARUNZ renamed to CMDRUN, aliases, placed in ALIAS.CMD, will run
simply by typing their name. In addition, you can run programs from
COMMAND.LBR by creating specific aliases in ALIAS.CMD to invoke them.
'RARELY LX RARELY $*', for example, will run RARELY.COM in COMMAND.LBR.
Or, you can chain to LX from the ARUNZ ALIAS.CMD file by placing
':LX $0 $*' on the last line of ALIAS.CMD.
d. Under ZCPR3.3, the name of the ECP is assembled into the command
processor (CMDRUN is default). If ROOTONLY is turned on, the CCP will
look only in the area specified as the last element in the symbolic
path. If CMDRUN is not there, the error handler will be invoked.