home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-386-Vol-2of3.iso / c / callbat.zip / CALL.USE < prev    next >
Text File  |  1992-12-22  |  4KB  |  54 lines

  1. CALL (c) 1992 Jim Groeneveld, NL. CALL command emulator for DOS « 3.3 .
  2. ---------------------------------------------------------------------------
  3. CALL supports the CALL command of DOS versions 3.3 & higher for lower DOS
  4. versions rather functionally. It replaces the only other alternative COMMAND/C.
  5. It offers full compatibility with batch files (scripts) that include the CALL
  6. command to run another batch file and to return to the original calling one.
  7. This is especially useful with old hardware not allowing newer DOS versions.
  8.  
  9. The only limitation compared to the (real) DOS (3.3&up) CALL command as far as
  10. I know is that the DOS environment can not be changed via these alternative
  11. CALLs, because they in fact shell to a copy of DOS with only a copy of the
  12. current environment. Thus the commands 'SET name=[contents]', 'PATH[=path]',
  13. 'PROMPT=[prompt]' from a CALLed batch file have no effect on the current
  14. environment. This also applies to the only other alternative COMMAND/C.
  15.  
  16. There are two versions of CALL, one based upon standard DOS batch language
  17. (compiled with a batch file compiler) and one in C. The "batch" version only
  18. allows up to 9 replaceable parameters, while the C version allows more of them
  19. (depending on the C compiler; one C compiler, PCC, would allow an unlimited
  20. number, but has another important drawback; see the C source).
  21. Rename either B2CCALL.COM to CALL.COM or CCALL.EXE to CALL.EXE, not both!
  22. Usage B2CCALL: CALL batch [up to  9 replaceable command line parameters]
  23. Usage CCALL:   CALL batch [up to 31 replaceable command line parameters]
  24.  
  25. Put CALL.COM in your DOS directory which should be part of the DOS PATH.
  26. For further info see the CALL batch command in DOS vs. 3.3 & higher manuals.
  27. CALL.COM would allow for piping and redirection but that is not useful while
  28. calling a batch file, so the DOS CALL limitation may be considered to apply.
  29. CALL.B2C is the source for the BATch file compiler BAT2EXEC 1.5 (c) 1990,
  30. 1991 Ziff Communications Co. PC Magazine ■ Douglas Boling.
  31. Use CALL.COM, not CALL.B2C if renamed to CALL.BAT.
  32.  
  33. ---Contents of package---                                          version
  34. CALL     B2C      244  12-11-92   0:00a  CALL, BATch source          0.0
  35. B2CCALL  COM     1024  12-11-92   0:00a  CALL, compiled BATch        0.0
  36. CALLTEST BAT      163  12-11-92   0:00a  Test script for CALL
  37. CALL     USE     3528  12-22-92   0:10a  This documentation file
  38. CALL     C       6889  12-22-92   0:10a  CALL, C source              0.1
  39. CCALL    EXE     6462  12-22-92   0:10a  CALL, compiled C            0.1
  40. CALL.EXE has been compressed with LZEXE.EXE Vs. 0.91 (c) 1989 Fabrice BELLARD.
  41.  
  42. The memory used for the alternative CALL is more than used with the internal
  43. CALL, because for each external CALL a copy of COMMAND.COM (or other shell
  44. processor) is loaded (and depending on the C compiler and function used the
  45. CALL program may remain loaded or not; this version doesn't remain loaded).
  46. The extra temporary overhead, however, is small (between 5 and 15 kb).
  47.  
  48. Centrum voor Medische Informatica TNO       «Email»              │  │  │\/│
  49. TNO Center for Medical Informatics │ GROENEVELD@CMI.TNO.NL  │  \_/  │  │  │
  50. ( CMI-TNO )    │ Y. Groeneveld     │ GROENEVELD@CMIHP1.UUCP │ Jim Groeneveld
  51. P.O.Box 124    │ Wassenaarseweg 56 │ GROENEVELD@TNO.NL      │ Schoolweg 14
  52. 2300 AC Leiden │ 2333 AL Leiden    │                        │ 8071 BC Nunspeet
  53. Nederland.     │ (+31│0)71-181810  │ Fax (+31│0)71-176382   │ 03412-60413
  54.