方便自己查閱,僅此而已!
@echo off if '%1=='## goto ENVSET
rem 要啟動的類名 SET CLSNAME=com.main rem 設(shè)定CLSPATH SET CLSPATH=. FOR %%c IN (.\lib\*.jar) DO CALL %0 ## %%c rem 運行 GOTO RUN :RUN java -cp %CLSPATH% %CLSNAME% goto END :ENVSET set CLSPATH=%CLSPATH%;%2 goto END :END
posted on 2009-05-31 09:21 suplayer 閱讀(409) 評論(0) 編輯 收藏 所屬分類: Windows
Powered by: BlogJava Copyright © suplayer