📄 install.bat
字号:
@echo off
if "%1"=="/F" goto DOS_INST
if "%1"=="/f" goto DOS_INST
call dos_ver
if errorlevel 7 goto EXIT2
:DOS_INST
cls
call banner_s
cls
echo.
echo.
echo.
echo Please Specify The Installation:
echo.
echo 1. PCMCIA CD-ROM Drive
echo 2. PCMCIA Hard Disk Drive
echo 3. PCMCIA LS-120 Drive
echo Q. Quit Installation
echo.
call sel /4
if errorlevel 4 goto EXIT1
if errorlevel 3 goto PCMSF
if errorlevel 2 goto PCMHD
if errorlevel 1 goto PCMCD
:PCMSF
if "%1"=="/F" goto PCMSF_CONT
if "%1"=="/f" goto PCMSF_CONT
call cs_ok
if errorlevel 1 goto NO_CS
:PCMSF_CONT
cls
echo.
echo.
echo.
echo.
echo.
echo.
echo Installation is about to install PCMCIA LS-120 driver...
echo.
echo.
echo Would you like to continue?
echo 1. Yes
echo Q. Quit
echo.
call sel /2
if errorlevel 2 goto EXIT1
md c:\commuter
copy patapisf.sys c:\commuter
copy c:\config.sys c:\config.dst
type pcmsf.ins >> c:\config.sys
call banner_e
goto EXIT
:PCMCD
if "%1"=="/F" goto PCMCD_CONT
if "%1"=="/f" goto PCMCD_CONT
call cs_ok
if errorlevel 1 goto NO_CS
:PCMCD_CONT
cls
echo.
echo.
echo.
echo.
echo.
echo.
echo Installation is about to install PCMCIA CD-ROM driver...
echo.
echo.
echo Would you like to continue?
echo 1. Yes
echo Q. Quit
echo.
call sel /2
if errorlevel 2 goto EXIT1
md c:\commuter
copy patapicd.sys c:\commuter
copy c:\config.sys c:\config.dst
type pcmcd.ins >> c:\config.sys
copy c:\autoexec.bat c:\autoexec.dst
copy autoexec.ins c:\
type c:\autoexec.dst >> c:\autoexec.ins
copy c:\autoexec.ins c:\autoexec.bat
del c:\autoexec.ins
call banner_e
goto EXIT
:PCMHD
if "%1"=="/F" goto PCMHD_CONT
if "%1"=="/f" goto PCMHD_CONT
call cs_ok
if errorlevel 1 goto NO_CS
:PCMHD_CONT
cls
echo.
echo.
echo.
echo.
echo.
echo.
echo Installation is about to install PCMCIA Hard Disk driver...
echo.
echo.
echo Would you like to continue?
echo 1. Yes
echo Q. Quit
echo.
call sel /2
if errorlevel 2 goto EXIT1
call cdisk
goto EXIT
:NO_CS
cls
echo.
echo.
echo.
echo.
echo.
echo.
echo !!! Warning !!!
echo.
echo There is no proper PCMCIA Card/Socket service driver detected!!
echo.
echo Before this installation, please make sure your PCMCIA
echo system software is properly installed. Otherwise, the
echo driver will not work correctly after reset.
echo.
echo If you still would like to continue the installation, please use
echo.
echo INSTALL /F
echo.
echo to force the installation!
echo.
goto EXIT
:EXIT2
cls
echo.
echo.
echo.
echo.
echo.
echo.
echo This utility only install drivers for DOS system
echo If you still would like to install in a non-DOS
echo system, please use
echo.
echo INSTALL /F
echo.
echo to force the installation!
echo.
echo.
echo To install drivers in Windows 95/NT system, please
echo refer user's manual for installation procedure.
echo.
echo.
goto EXIT
:EXIT1
cls
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo Incomplete installation!
echo Please try again.
echo.
echo.
:EXIT
echo.
echo.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -