home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / database / ddlab50r.zip / CONFIG.BAT next >
DOS Batch File  |  1990-05-28  |  1KB  |  42 lines

  1. ECHO OFF
  2. CLS
  3. IF /%1 == / GOTO ERROR
  4. IF %1 == A: GOTO FLOPPY
  5. IF %1 == a: GOTO FLOPPY
  6. IF %1 == B: GOTO FLOPPY
  7. IF %1 == b: GOTO FLOPPY
  8. IF %1 == C: GOTO HARD
  9. IF %1 == c: GOTO HARD
  10. IF %1 == D: GOTO HARD
  11. IF %1 == d: GOTO HARD
  12. IF %1 == E: GOTO HARD
  13. IF %1 == e: GOTO HARD
  14. GOTO ERROR
  15.  
  16. :FLOPPY
  17. ECHO Insert bootup disk in %1 drive.
  18. PAUSE
  19. COPY %1\CONFIG.SYS + DDCONFIG.SYS %1\CONFIG.SYS
  20. GOTO END
  21.  
  22. :HARD
  23. COPY %1\CONFIG.SYS + DDCONFIG.SYS %1\CONFIG.SYS
  24. GOTO END
  25.  
  26. :ERROR
  27. ECHO If you get an OPEN_ERROR() message at the top of your screen 
  28. ECHO while running DOCTOR DATA Label you will need to run this 
  29. ECHO batch file.  By running this batch file you will add the 
  30. ECHO lines FILES=20 and BUFFERS=8 to your CONFIG.SYS file on your 
  31. ECHO bootup disk.  To do this insert your bootup disk in the 
  32. ECHO other drive and type: CONFIG <destination drive> <Enter>. 
  33. ECHO The destination drive is your bootup disk drive.  If you are 
  34. ECHO using a hard drive simply type the letter of the drive such 
  35. ECHO as C:, D: or E: as the destination drive.  After this is 
  36. ECHO done you will need to reboot your system in order for your 
  37. ECHO computer to read the two new lines in your CONFIG.SYS file. 
  38. ECHO After that you should no longer get any errors in DOCTOR 
  39. ECHO DATA Label.  Thank you for your support! 
  40.  
  41. :END
  42.