home *** CD-ROM | disk | FTP | other *** search
/ Walnut Creek Sampler 1995 January / Walnut_Creek_Sampler_44_CDROMs_to_Try_Walnut_Creek_January_1995.iso / mac / DISCS / FREEBSD / FINSTALL.BAT < prev    next >
DOS Batch File  |  1994-11-02  |  984b  |  41 lines

  1. ECHO OFF
  2. CLS
  3. :START
  4. echo     Preparing to create 1.44 megabyte boot floppies for FreeBSD 2.0
  5. echo             Please use the Cursor Keys to make a menu selection.
  6. \utils\DOMENUT \discs\freebsd\bootflop\INSTALL.MNU
  7. IF ERRORLEVEL  5 GOTO Exit
  8. IF ERRORLEVEL  4 GOTO cpio
  9. IF ERRORLEVEL  3 GOTO boot
  10. IF ERRORLEVEL  2 GOTO readme20
  11. IF ERRORLEVEL  1 GOTO relnotes
  12. GOTO START
  13. :relnotes
  14. \view \discs\freebsd\relnotes.txt
  15. goto START
  16. :readme20
  17. \view \discs\freebsd\readme20.txt
  18. goto START
  19. :CPIO
  20. set FLOPPY=CPIO.FLP
  21. goto DRIVES
  22. :BOOT
  23. set FLOPPY=BOOT.FLP
  24. goto DRIVES
  25. :DRIVES
  26. echo Setting up for %FLOPPY% floppy...
  27. \utils\DOMENUT \discs\freebsd\bootflop\DRIVES.MNU
  28. IF ERRORLEVEL 3 goto EXIT
  29. IF ERRORLEVEL 2 goto FLOPPYB
  30. IF ERRORLEVEL 1 goto FLOPPYA
  31. GOTO DRIVES
  32. :FLOPPYA
  33. format /q /v:freebsd a:
  34. \utils\rawrite \discs\freebsd\bootflop\%FLOPPY% A:
  35. goto EXIT
  36. :FLOPPYB
  37. format /q /v:freebsd b:
  38. \utils\rawrite \discs\freebsd\bootflop\%FLOPPY% B:
  39. goto EXIT
  40. :EXIT
  41. cls