home *** CD-ROM | disk | FTP | other *** search
/ Hall of Fame / HallofFameCDROM.cdr / harddisk / masdir42.lzh / SDLDEBUG.BAT < prev    next >
DOS Batch File  |  1988-12-01  |  992b  |  32 lines

  1. ECHO off
  2. IF EXIST SDLSETUP.TXT GOTO TXTOK
  3. ECHO Unable to locate the text file to use with DEBUG.
  4. ECHO Please run SDLSETUP to create the necessary file.
  5. GOTO END
  6. :TXTOK
  7. ECHO W >>SDLSETUP.TXT
  8. ECHO Q >>SDLSETUP.TXT
  9. DEBUG SDL.COM <SDLSETUP.TXT >DEBUG.TST
  10. IF EXIST DEBUG.TST GOTO OK
  11. ECHO * * *
  12. ECHO Using the DOS DEBUG command appears to have failed!
  13. ECHO DEBUG may not be on a valid disk drive on your system, or
  14. ECHO you may not have a path to DEBUG.  Please check the
  15. ECHO directories on your path for the existence of DEBUG.COM.
  16. ECHO If you can establish a path to DEBUG or copy DEBUG.COM
  17. ECHO to this working area, you can install the changes you
  18. ECHO have just made by entering SDLDEBUG.
  19. GOTO END
  20. :OK
  21. ERASE DEBUG.TST
  22. IF EXIST SDL*.TXT ERASE SDL*.TXT
  23. SET WHAT=
  24. ECHO * * *
  25. ECHO SDL.COM has been modified.
  26. ECHO Don't forget to COPY your new version of SDL.COM
  27. ECHO to the disk and/or directory with your other DOS
  28. ECHO commands and utilities.
  29. :END
  30. SET WHAT=
  31. 
  32.