@echo off
setLocal EnableDelayedExpansion

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

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