home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional Developers Kit 1992 November / Disc01 / Disc01.mdf / os2tk20 / debug / 6_423 / install.cmd < prev    next >
Encoding:
Text File  |  1992-07-15  |  678 b   |  36 lines

  1. @echo off
  2. echo  
  3. if "%1" == "" goto nodrive
  4. goto chkdrive
  5.  
  6. :nodrive
  7. echo [INSTALL]  Error ! - No drive letter specified
  8. goto err_exit
  9.  
  10. :chkdrive
  11. if exist %1:\os2ldr.msg  goto install
  12. echo [INSTALL]  Error ! - Invalid OS/2 drive letter specified ... (%1)
  13. goto err_exit
  14.  
  15. :err_exit
  16. echo [INSTALL]
  17. echo [INSTALL]  Usage: install   drive-letter
  18. echo [INSTALL]
  19. echo [INSTALL]  (Note: You must OMIT the colon after the drive letter)
  20. echo 
  21. goto exit
  22.  
  23. :install
  24. copy a:\dbinst.cmd   %1:\
  25. copy a:\dbuginst.exe %1:\
  26. echo  
  27. echo [INSTALL]  Debug Kernel/PM Installation program installed on drive %1:
  28. echo 
  29. %1:
  30. cd \
  31. dbinst.cmd %1
  32. goto exit
  33.  
  34. :exit
  35. echo on
  36.