home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 July / CMCD0704.ISO / Software / Complet / FreeDOS / fdbootcd.iso / isolinux / DATA / FDBOOT.IMG / FREEDOS / setup.bat < prev    next >
DOS Batch File  |  2003-12-24  |  994b  |  28 lines

  1. @echo off
  2. set /p enter=Please insert 2nd diskette (INSTALL) and press ENTER to continue
  3. if not "%opt%"=="install" goto end
  4. set instparm=
  5. if "%color%"=="Mono" set instparm=%instparm% /mono
  6. if "%instmode%"=="Mini" set instparm=%instparm% /df %disksrc%\install\INSTALL.MIN
  7. if "%instmode%"=="Full" set instparm=%instparm% /df %disksrc%\install\INSTALL.DAT
  8. set instparm=%instparm% /src %disksrc%\FREEDOS\PACKAGES
  9. CDD %disksrc%\install\
  10. if exist c:\fdconfig.sys ren c:\fdconfig.sys fdconfig.old
  11. if exist c:\fdauto.bat ren c:\fdauto.bat fdauto.old
  12. for %%x in ( Mono ) do if "%color%"=="%%x" goto setuptxt
  13. for %%x in ( 8086 80186 80286 ) do if "%cputype%"=="%%x" goto setuptxt
  14. if exist a:\driver\ctmouse.exe a:\driver\ctmouse.exe
  15. goto setupGUI
  16.  
  17. :setupGUI
  18. if exist %disksrc%\install\cwsdpmi.exe %disksrc%\install\cwsdpmi.exe -p -sa:\fdosswap.tmp
  19. %disksrc%\install\install.exe %instparm% /overwrite
  20. goto end
  21.  
  22. :setupTXT
  23. %disksrc%\install\textinst.exe %instparm%
  24. goto end
  25.  
  26. :end
  27.  
  28.