home *** CD-ROM | disk | FTP | other *** search
/ The Mother of All Windows Books / CD-MOM.iso / cd_mom / workmodl / drafix / install.bat < prev    next >
DOS Batch File  |  1991-12-11  |  2KB  |  57 lines

  1. @echo off
  2. cls
  3.  
  4. if not exist winstall.inf goto missing_files
  5. if not exist winstall.exe goto missing_files
  6.  
  7. echo  
  8. echo  
  9. echo  
  10. echo  
  11. echo        ╔════════════════════════════════════════════════════════════╗
  12. echo        ║                                                            ║
  13. echo        ║            The Drafix Windows CAD Installation             ║
  14. echo        ║          will load windows and execute the install         ║
  15. echo        ║                                                            ║
  16. echo        ║    Remember to leave floppy in until you Exit Windows!     ║
  17. echo        ║                                                            ║
  18. echo        ╚════════════════════════════════════════════════════════════╝
  19. echo   
  20. echo   
  21. echo                              Loading windows...
  22.  
  23. rem  -- Check that all required files exist (we assume that
  24. rem  -- if all files exist then we are running from the correct
  25. rem  -- INSTALL will execute
  26.  
  27. win winstall.exe
  28. goto finished
  29.  
  30. rem  -- We are missing files - assume not running from the CD-ROM
  31. :missing_files
  32. echo  
  33. echo  
  34. echo  
  35. echo  
  36. echo       ╔═══════════════════════════════════════════════════════════════╗
  37. echo       ║                                                               ║
  38. echo       ║     You are not running from the Windows CAD Floppy drive     ║
  39. echo       ║                                                               ║
  40. echo       ║        Set your default drive to the Installation floppy      ║
  41. echo       ║       and type INSTALL. For example, if A is your floppy      ║
  42. echo       ║           drive letter you would type the following:          ║
  43. echo       ║                                                               ║
  44. echo       ║                                                               ║
  45. echo       ║                         A:      [Enter]                       ║
  46. echo       ║                                                               ║
  47. echo       ║                         INSTALL [Enter]                       ║
  48. echo       ║                                                               ║
  49. echo       ║                                                               ║
  50. echo       ╚═══════════════════════════════════════════════════════════════╝
  51. goto finished
  52.  
  53. :finished
  54. echo on
  55.  
  56.  
  57.