Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
508 B

  1. @echo off
  2. if NOT defined SDXROOT echo Run from a razzle prompt.&goto :eof
  3. cd /d %SDXROOT%
  4. setlocal enabledelayedexpansion
  5. set _ArgLoop=0
  6. set _ArgsTimeBuild=
  7. rem
  8. rem look for our -loop parameter. the rest belong to timebuild.
  9. rem
  10. for %%i in ( %* ) do (
  11. if /I %%i==/loop (
  12. set _ArgLoop=1
  13. ) else if /I %%i==-loop (
  14. set _ArgLoop=1
  15. ) else (
  16. set _ArgsTimeBuild=!_ArgsTimeBuild! %%i
  17. )
  18. )
  19. :loop
  20. perl tools\timebuild.pl %_ArgsTimeBuild%
  21. if "%_ArgLoop%" == "1" goto loop