@set javacfound = 0 @rem for %x in (%path) do (@echo %x\javac.exe) @rem @echo javacfound = %javacfound @set DATAPATH=..\..\..\..\..\..\data\sku.0\sys.server\compiled\game @rem @if not exist %DATAPATH md %DATAPATH @if "%1" == "" goto all @for %x in (%1) ( @javac.exe -g -sourcepath ..\. -classpath %DATAPATH -d %DATAPATH %x ) @goto end :all @for %x in (*.java) ( @javac.exe -g -sourcepath ..\. -classpath %DATAPATH -d %DATAPATH %x @if ERRORLEVEL != 0 (@goto end) ) :end