set KMHOME=C:\KM
java -cp "%KMHOME%\km.zip;%CLASSPATH%" -Dkm.dir="%KMHOME%" Main %1