@set javacfound = 0 @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) do (javac.exe -g:none -O -sourcepath ..\. -classpath %DATAPATH -d %DATAPATH %x) @goto end :all @for %x in (*.java) do (javac.exe -g:none -O -sourcepath ..\. -classpath %DATAPATH -d %DATAPATH %x) :end