home *** CD-ROM | disk | FTP | other *** search
- @echo off
- echo
- if "%1" == "" goto nodrive
- goto chkdrive
-
- :nodrive
- echo [INSTALL] Error ! - No drive letter specified
- goto err_exit
-
- :chkdrive
- if exist %1:\os2ldr.msg goto install
- echo [INSTALL] Error ! - Invalid OS/2 drive letter specified ... (%1)
- goto err_exit
-
- :err_exit
- echo [INSTALL]
- echo [INSTALL] Usage: install drive-letter
- echo [INSTALL]
- echo [INSTALL] (Note: You must OMIT the colon after the drive letter)
- echo
- goto exit
-
- :install
- copy a:\dbinst.cmd %1:\
- copy a:\dbuginst.exe %1:\
- echo
- echo [INSTALL] Debug Kernel/PM Installation program installed on drive %1:
- echo
- %1:
- cd \
- dbinst.cmd %1
- goto exit
-
- :exit
- echo on
-