@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. # fixedPort property is for old style registry - it will run on the port specified by # cipres.registry.ior. W/o this property it is a per-user registry and writes its ior # to a file in the ports directory. java -DfixedPort=1 -ea -classpath %~dp0\..\lib\cipres\cipres-classpath.jar org.cipres.registry.RegistryApp