Leaked source code of windows server 2003
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.

34 lines
555 B

  1. @echo off
  2. setlocal ENABLEDELAYEDEXPANSION
  3. set mergeroot=
  4. set args=
  5. set opts=
  6. :NextArg
  7. if "%1"=="" goto :ArgDone
  8. set tmp=%1
  9. set tmp0=!tmp:~0,1!
  10. if "!tmp0!"=="-" set opts=!opts! %1 & goto ArgOK
  11. if "!tmp0!"=="/" set opts=!opts! %1 & goto ArgOK
  12. set args=!args! %1
  13. :ArgOK
  14. shift
  15. goto :NextArg
  16. :ArgDone
  17. set filenames=
  18. for %%x in (%args%) do (
  19. set filenames=!filenames! %%x
  20. )
  21. if "%filenames%"=="%1" goto :Usage
  22. cscript buildtimes.js %opts% %filenames% //nologo
  23. goto :Eof
  24. :Usage
  25. cscript buildtimes.js -? //nologo