home *** CD-ROM | disk | FTP | other *** search
/ Hall of Fame / HallofFameCDROM.cdr / dos / run.lzh / RUN.DOC < prev   
Text File  |  1995-10-20  |  2KB  |  65 lines

  1.  
  2.  
  3.  
  4. ***********RUN.COM DOCUMENTATION**************
  5.  
  6. The program RUN.COM is designed for the IBMPC.
  7.  
  8. I wrote it for two reasons:
  9.  
  10.      Protection from my children while still maintaining
  11.      a usable system, and
  12.  
  13.      Education for myself.
  14.  
  15. On my home system, I have 4 floppy drives, two forty track and two
  16. eighty track. The A: drive contains DOS and often used utilities,
  17. and generally remains in the drive. There is a directory on this
  18. diskette named DOSUTIL that contains dangerous programs like FORMAT.
  19. I wanted to keep those programs fairly well hidden but available for
  20. the knowledgeable. Therefore, I wrote the RUN program that would allow
  21. things like:
  22.  
  23.      RUN A:/DOSUTIL/FORMAT.COM B:  (/ means backslash)
  24.  
  25. regardless of 'CURRENT DIRECTORY' and 'PATH' settings, and without
  26. having to find a special diskette.
  27.  
  28. In any event, I also wanted to puzzle out a few areas of DOS and I
  29. was successful in that.
  30.  
  31. Even if this program does not appear very useful to you, it does
  32. invoke several interesting DOS functions:
  33.  
  34.     SETBLOCK so that the storage management routines can be used.
  35.  
  36.     BUILD FCB.
  37.  
  38.     LOAD AND EXECUTE a DOS program.
  39.  
  40.     RETRIEVE RETURN CODE from executed program.
  41.  
  42.     EXIT TO DOS WITH RETURN CODE in the A-REG.
  43.  
  44. The assembler code is reasonably well commented, and I hope it is
  45. educational to you even if it is not useful in its present form.
  46. If there are any of you out there that are looking for a 'programmer
  47. workbench,' this may get you started.
  48.  
  49. In the current version, you must supply the entire filename and extension.
  50. I have not attempted to perform a search order lookup. Therefore:
  51.  
  52.     RUN C:/COMP/PAS1     does not work, but
  53.  
  54.     RUN C:/COMP/PAS1.EXE     does work.
  55.  
  56. BAT files are not supported.
  57.  
  58. Do not RUN files that return as a resident extension.
  59.  
  60.  
  61. Reid Sayre
  62.  
  63.  
  64.  
  65.