@echo off
setLocal EnableDelayedExpansion

REM Path to core and library classes
set MAIN=%~dp0\..
set CP=%MAIN%\BaseX.jar;%MAIN%\lib\custom\*;%MAIN%\lib\*;%CLASSPATH%

REM Run code
java -cp "%CP%" %BASEX_JVM% org.basex.BaseXClient %*
