@ECHO ON

REM   This batch file provides an example of how to setup your HIC online environment
REM
REM  RUN_DIR		This variable points to the HIC online directory, change it if you don't use C:\Program Files\HICOnline
REM			on NT4, 2000, XP setting it to  %~dp0   sets it to the current directory
REM  PATH		You probably won't need anything extra in your path
REM  CLASSPATH 		If your getting odd results try setting your class path to blank, it's not needed for Releases after 2.8
REM			The main reason it would cause a problem is if you still have an older HIC online version installed
REM			Remember to remove the old jar files from C:\Program Files\javasoft\jre\1.3.1\lib\ext
REM  HICOL_LIB_PATH	Points to the HIC online client adaptor jar files, must have a trailing back slash
REM  EASY_API_LOG	Location and file name of the C DLL log, we recommend C:\Program Files\HICOnline\Log
REM  EASY_PARM1		You can set up to 20 of these, which simply contain another variable name
REM			Prefixing with a -D makes them a system variable
REM			Win 98 users must not have two equals = signs in the same line, use two pluses ++ instead
REM
REM  hiconline.logicpack.dir	Location of the logic packs, can also now be set as a session element
REM  java.library.path		Location of some necessary DLL's, notably PSIjni.dll
REM
REM  proxyHost		Name of your proxy server. Only needed if you have a proxy server on your network.
REM  proxyPort		Your proxy server port.
REM
REM  START		Name of the program you wish to start and use in this environment, in this case API checker.
REM  SETLOCAL ENDLOCAL	Makes the environment setup temporary. Remove these clauses if you put the env in autoexec.bat

SETLOCAL

set PATH=%PATH%;%RUN_DIR%\Bin
rem set CLASSPATH=C:\NotARealDirectory

SET RUN_DIR=C:\HICOnline
#SET java_jre.dll=C:\Program Files\Java\jre1.5.0_08\bin\client\jvm.dll
SET HICOL_LIB_PATH=%RUN_DIR%\Lib\
SET EASY_API_LOG=%RUN_DIR%\log\easydll.log
SET EASY_PARM1=-Dhiconline.logicpack.dir++%RUN_DIR%\LogicPack
SET EASY_PARM2=-Djava.library.path++%RUN_DIR%\Bin
#SET EASY_PARM3=java_jre.dll++C:\Program Files\Java\jre1.5.0_08\bin\client\jvm.dll


REM These two are only needed if you have a proxy server between you and the Internet
rem SET easy_parm3=-Dhttp.proxyHost++webproxy
rem SET easy_parm4=-Dhttp.proxyPort++8080

START testlrshicol.exe %2 %3 %4 %5

PAUSE

ENDLOCAL


