@echo off

REM gbi: eloJPosService114.jar should be in the front
set oldcp=%CLASSPATH%
set CLASSPATH=postest.jar;eloJPosService114.jar;javapos-1.14.2.jar;jna-4.0.0.jar;jna-platform-4.0.0.jar;xerces.jar;

REM gbi: please change C:\POSTest-1.10.0-bin_x64 to your working directoy
set lp=C:\POSTest-1.10.0-bin_x64

cd C:\POSTest-1.10.0-bin_x64

REM gbi: please change C:\jre1.7\bin\ to your JRE installation directory
"C:\Program Files\Java\jdk1.7.0_80\bin\java.exe" -cp %classpath% -Djava.library.path=%lp% com.jpos.POStest.POStest

set classpath=%oldcp%
