home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS - Coast to Coast / simteldosarchivecoasttocoast.iso / pcmag / vol8n14.zip / RUN.BAT < prev    next >
DOS Batch File  |  1989-06-25  |  1KB  |  58 lines

  1.  
  2.  
  3. ECHO off
  4. REM This is a generic batch executor written to
  5. REM save disk space since DOS allocates a minimum
  6. REM of 2K bytes of disk space regardless of the
  7. REM filesize.  
  8. REM **************************************************
  9. cls
  10. if x%1==x goto syntax
  11. goto %1
  12. REM **************************************************
  13. REM Lotus 123
  14. :123
  15. cd\123
  16. %1 %2
  17. cd\
  18. goto end
  19. REM **************************************************
  20. REM AutoCad-21
  21. :CAD
  22. set acadfreeram=25
  23. cd\cad
  24. acad
  25. cd\
  26. set acadfreeram=
  27. goto end
  28. REM **************************************************
  29. REM Multimate Advantage II
  30. :WP
  31. cd\wp
  32. wp
  33. cd\
  34. goto end
  35. REM **************************************************
  36. REM Show syntax if no parameters.
  37. :SYNTAX
  38. cls
  39. ECHO  Syntax: run PROGRAM [optional program parameters]
  40. ECHO  -------
  41. ECHO  where : PROGRAM maybe one of the following.
  42. ECHO  -------
  43. ECHO     1) 123      - Lotus 123 Spreadsheet version 2.01
  44. ECHO     2) cad      - AutoCad-21 version 2.52
  45. ECHO        . . .  (many other entries)
  46. ECHO    12) wp       - Multimate Advantage II Word Processor
  47. ECHO    ----------------------------------------------------
  48. ECHO    EXAMPLE: Type 'run 123' (without the quotes) to run
  49. ECHO             LOTUS 123. Type 'run 123 vga' to run Lotus
  50. ECHO             123 using a vga driver.
  51. goto end
  52. :end
  53. if not x%1==x cls
  54.  
  55.  
  56.  
  57.  
  58.