@echo off REM This is just the coolest! %~dp0 is called a "batch parameter modifier" REM and it is the full path of the directory where this batch files is located. REM Doesn't work on windows 98 and earlier. java -ea -classpath "%~dp0..\lib\cipres\cipres-classpath.jar" org.cipres.registry.RegistryApp