常用bat命令

set COPY_JAR_DEST_DIR=D:\workspace
del /F/Q %COPY_JAR_DEST_DIR%\*.jar
cd /d %GV_DIR%\bus_gv_idl\install
call %JIBX_PATH%\ant.bat -f build.xml taskname

for /d %%i in (%GV_DIR%\*) do (
if not "%%~ni"=="bus_gv_test" jar -cf %COPY_JAR_DEST_DIR%\%%~ni.jar -C %%i\%TARGET_CLASS_PATH% .
)

for /d %%i in (%repository_DIR%\com\ws\*) do (
copy /Y %%i\%BUS_Version%\%%~ni-%BUS_Version%.jar %COPY_JAR_DEST_DIR%\%%~ni.jar
)

set /p ans=
if %ans%==s1 goto dev1
:dev1
set nam_IP=109.190
goto end

你可能感兴趣的:(bat)