home *** CD-ROM | disk | FTP | other *** search
/ Jason Aller Floppy Collection / 267.img / RESIDNTC.ZIP / INSTALL.BAT < prev    next >
DOS Batch File  |  1990-04-12  |  2KB  |  73 lines

  1. ECHO OFF
  2. ECHO ********************************************************************
  3. ECHO *  
  4. ECHO * THIS BATCH FILE WILL INSTALL THE /*resident_C*/ FILES TO THE
  5. ECHO * CURRENT DIRECTORY.
  6. ECHO *    
  7. ECHO * The disk contains support for Microsoft C and Turbo C.  To
  8. ECHO * install the software for one of these compilers, run the 
  9. ECHO * install.bat file as follows:
  10. ECHO *      
  11. ECHO * First, make the directory you wish to install the software into the
  12. ECHO * current directory. Then put the /*resident_C*/ disk in the A: drive
  13. ECHO * and type A:INSTALL [comp] [SOURCE] [DEMOS] [U]
  14. ECHO *    comp   - M for Microsoft, T for Turbo
  15. ECHO *    SOURCE - if you want source code
  16. ECHO *    DEMOS  - if you want the demo programs
  17. ECHO *    U      - if you want the TSR utilities
  18. ECHO *     
  19. ECHO *  IF YOU DO NOT WANT THE FILES INSTALLED AT THIS TIME, HIT CTRL-BREAK.
  20. ECHO *  HIT ANY OTHER KEY TO CONTINUE.
  21. ECHO *  
  22. PAUSE
  23. IF %1/ == /  GOTO NOPARM
  24. CLS
  25. IF %1 == m GOTO MSC
  26. IF %1 == M GOTO MSC
  27. IF %1 == T GOTO TC
  28. IF %1 == t GOTO TC
  29. IF %1 == SOURCE GOTO ISOURCE
  30. IF %1 == source GOTO ISOURCE
  31. IF %1 == demos GOTO DEMOS
  32. IF %1 == DEMOS GOTO DEMOS
  33. IF %1 == u GOTO TSRS
  34. IF %1 == U GOTO TSRS
  35. GOTO NOPARM
  36. :MSC
  37. A:PKUNZIP A:RES_C *.h res_c_s.msc res_c_l.msc 
  38. REN res_c_?.msc *.lib
  39. GOTO DONE
  40. :TSRS
  41. A:PKUNZIP A:TSRUTIL
  42. GOTO DONE
  43. :TC
  44. A:PKUNZIP A:RES_C *.h res_c_s.tc res_c_l.tc
  45. REN res_c_?.tc *.lib
  46. GOTO DONE
  47. :DEMOS
  48. a:pkunzip a:demos
  49. GOTO DONE
  50. :ISOURCE
  51. a:pkunzip a:source
  52. GOTO DONE
  53. :NOPARM
  54. ECHO   
  55. ECHO ***************************************************
  56. ECHO * You must pass one of the following arguments:
  57. ECHO *       M to install Microsoft libraries
  58. ECHO *       T to install Turbo C libraries
  59. ECHO *       U to install TSR Utilities
  60. ECHO *       SOURCE to install source code
  61. ECHO *       DEMOS to install demo programs
  62. ECHO ***************************************************
  63. ECHO  
  64. GOTO FINIS
  65. :DONE
  66. ECHO  
  67. ECHO  *** INSTALLATION COMPLETE ***
  68. ECHO  
  69. :FINIS
  70. REM  
  71. ECHO ON
  72.  
  73.