home *** CD-ROM | disk | FTP | other *** search
/ Shareware 1 2 the Maxx / sw_1.zip / sw_1 / BUSI / DENTL40A.ZIP / INSTALL.BAT < prev    next >
DOS Batch File  |  1992-04-20  |  1KB  |  58 lines

  1. Echo off
  2. IF NOT EXIST INPUT.COM GOTO WRONGDR
  3. CLS
  4. IF %1==F GOTO FLOPINS
  5. IF %1==H GOTO HARDINS1
  6. CLS
  7. GO
  8. :FLOPINS
  9. ECHO OFF
  10. CLS
  11. CLS
  12. IF %2==1 GOTO FLOPINS1
  13. IF %2==2 GOTO FLOPINS2
  14. CLS
  15. ECHO  This floppy installation requires that you enter either a '1' or a '2',
  16. ECHO  following your 'GO F' instruction.
  17. GOTO END
  18. :FLOPINS2
  19. CLS
  20. GOTO END
  21. :FLOPINS1
  22. GOTO END
  23. :HARDINS1
  24. CLS
  25. echo  
  26. ECHO  This procedure will install all files onto your hard disk, drive %2
  27. ECHO  and will create a subdirectory, \DENTIST.ACS.
  28. echo  
  29. %2:
  30. CD \
  31. MKDIR DENTIST.ACS
  32. CD DENTIST.ACS
  33. COPY %3ECOH.COM >TMP
  34. COPY %3YESNO.COM >TMP
  35. COPY %3DENTL-A4.EXE >TMP
  36. DENTL-A4
  37. DEL DENTL-A4.EXE 
  38. DEL AUTOFLOP.BAT
  39. COPY %3DENTL-B4.EXE >TMP
  40. DENTL-B4
  41. DEL DENTL-B4.EXE 
  42. CLS
  43. %3
  44. CLS
  45. INSTALL2 H %2 %3
  46. GOTO END
  47. :WRONGDR
  48. CLS
  49. echo  
  50. echo  
  51. ECHO Though nothing could be simpler than this install procedure, it does   
  52. echo require that you enter the drive name, such as 'A:' or 'B:', followed
  53. echo by the 'Enter' key.  After that, please enter 'GO' again.
  54. echo  
  55. GOTO END
  56. :END
  57. echo  
  58.