home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 1998 October / VPR9810B.BIN / BIOS / tekram / 10016cs1 / 10016cs1.exe / MK_BOOTZ.EXE / MK_BOOT.BAT < prev    next >
DOS Batch File  |  1997-07-21  |  844b  |  38 lines

  1. @echo off
  2.  
  3. REM EDOS Boot Diskette ver 1.0, 7/21/97
  4.  
  5. REM This batch file creates an EDOS Boot Diskette on a WindowsNT system.
  6.  
  7. REM Sample command line is
  8. REM EDOS 
  9.  
  10. IF EXIST COMMAND.COM GOTO :NEXT
  11. GOTO :ERROR
  12. :NEXT
  13. IF EXIST INSTBOOT.EXE GOTO :NEXT1
  14. GOTO :ERROR
  15. :NEXT1
  16. IF EXIST DOS.SYS GOTO :CONTINUE
  17. :ERROR
  18. ECHO One of the files DOS.SYS, COMMAND.COM or INSTBOOT.EXE is not contained 
  19. ECHO in the same directory as this batch file.  Please place these files in
  20. ECHO the same directory and rerun this batch file from that directory
  21. GOTO :END
  22.  
  23. :CONTINUE
  24. ECHO I am going to format the disk in drive A:  If this is a problem 
  25. ECHO press CTRL-C now to exit
  26. PAUSE
  27.  
  28. format a: 
  29.  
  30. instboot
  31. COPY COMMAND.COM a: > NUL:
  32. COPY DOS.SYS a:> NUL:
  33.  
  34. ECHO.
  35. ECHO.
  36. ECHO The creation of your EDOS Boot Diskette is now complete.
  37.  
  38. :END