home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 27 / CDROM27.iso / share / dos / dbp / makedisc.cmd < prev    next >
Encoding:
Text File  |  1998-07-02  |  2.4 KB  |  44 lines

  1. @echo off
  2. echo.
  3. echo DocsBoot+ version 0.42:19980703 - OS/2 Make program disc batch job
  4. echo Copyright (C)1994-1998 Zac Schroff, all rights reserved.
  5. echo.
  6. if not exist loaddskf.exe goto nofiles
  7. if not exist docsboot.img goto nofiles
  8. if not "%1"=="1" echo Please find a 1440KB 3.5 inch disc, and place it in your primary floppy
  9. if not "%1"=="1" echo disc drive (A).  If you can't find a 1440KB disc, or need to swap the
  10. if "%1"=="1" echo Please find a 1440KB 3.5 inch disc, and place it in your secondary floppy
  11. if "%1"=="1" echo disc drive (B).  If you can't find a 1440KB disc, or need to swap the
  12. echo drives, you should abort this by pressing [Ctrl-C] now (and probably
  13. echo saying yes to the `terminate batch job' prompt).  Otherwise, you should
  14. pause
  15. echo.
  16. if not "%1"=="1" loaddskf docsboot.img A: /f /y /q /s
  17. if "%1"=="1" loaddskf docsboot.img B: /f /y /q /s
  18. echo.
  19. if errorlevel 1 echo Sorry, something went wrong (see above).  Try it again.
  20. if errorlevel 1 goto end
  21. echo Okay, done.  You need to boot your system from the disc you just made to use
  22. echo this version of DocsBoot+.  This is so DocsBoot+ is no longer specifig to any
  23. echo one operating system (it no longer requires DOS to install or configure!).
  24. echo.
  25. if "%1"=="1" echo Since your 1440KB disc is the secondary, you need to use the 1200KB program
  26. if "%1"=="1" echo on a 5.25 inch disc so that you can boot the DocsBoot+ disc.  Please read the
  27. if "%1"=="1" echo section on the 1200KB program in the UTILITY.DOC on the disc just made.
  28. if "%1"=="1" echo.
  29. echo THERE ARE SOME DOCUMENTATION FILE ON THE FLOPPY.  PLEASE LOOK AT THEM BEFORE
  30. echo YOU DO ANYTHING ELSE, AS THEY CONTAIN MORE INFORMATION ABOUT DOCSBOOT+
  31. goto end
  32. :nofiles
  33. echo A required file is missing :
  34. if not exist docsboot.img echo    DOCSBOOT.IMG - the image file
  35. if not exist loaddskf.exe echo    LOADDSKF.EXE - the OS/2 image converter (*)
  36. if not exist loaddskf.exe echo.
  37. if not exist loaddskf.exe echo (*) - LOADDSKF.EXE is provided by IBM with OS/2 and must be copied to the
  38. if not exist loaddskf.exe echo       the other DocsBoot+ files are in.  Due to licensing restrictions,
  39. if not exist loaddskf.exe echo       LOADDSKF.EXE could not be included with DocsBoot+.  It should be in
  40. if not exist loaddskf.exe echo       the DISKIMGS directory on your OS/2 CDROM, or you should be able to
  41. if not exist loaddskf.exe echo       get it from IBM at their FTP or web site.
  42. :end
  43. echo.
  44.