You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

antRun.bat 281 B

1234567891011121314151617181920
  1. @echo off
  2. rem Change drive and directory to %1 (Win9X only for NT/2K use "cd /d")
  3. cd %1
  4. %1\
  5. set ANT_RUN_CMD=%2
  6. shift
  7. shift
  8. set PARAMS=
  9. :loop
  10. if ""%1 == "" goto runCommand
  11. set PARAMS=%PARAMS% %1
  12. shift
  13. goto loop
  14. :runCommand
  15. rem echo %ANT_RUN_CMD% %PARAMS%
  16. %ANT_RUN_CMD% %PARAMS%