home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.yorku.ca 2015
/
ftp.cs.yorku.ca.tar
/
ftp.cs.yorku.ca
/
pub
/
drac.EXE
/
hapinst.bat
< prev
next >
Wrap
DOS Batch File
|
2008-11-20
|
503b
|
36 lines
@SETLOCAL
@echo off
::make sure the start dir is the same as where the batch file locates
SET batchDir=%~dp0
CD /D %batchDir%
@IF "%1" == "" GOTO usage
@IF "%1" == "install" GOTO in
@IF "%1" == "uninstall" GOTO unin
:in
CD hapi
hapint -k SPHAPIDA5 -p %SystemRoot%\hapint.exe -q
goto end
:unin
CD hapi
hapint -k SPHAPIDA5 -r -q
goto end
@GOTO end
:usage
@ECHO Usage:
@ECHO To Install hapinst install
@ECHO To Uninstall hapinst uninstall
:end
@POPD
@ENDLOCAL