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.

48 lines
1.3 KiB

  1. @echo off
  2. setlocal EnableExtensions
  3. if DEFINED _echo echo on
  4. if DEFINED verbose echo on
  5. REM ---------------------------------------------------------------------------
  6. REM DOCRC.CMD - generate the CRC files for Microsoft Japan
  7. REM
  8. REM Usage:
  9. REM DOCRC <build#>
  10. REM
  11. REM Author: Jim Feltis
  12. REM
  13. REM ---------------------------------------------------------------------------
  14. set Platforms=x86fre x86chk amd64fre amd64chk ia64fre ia64chk
  15. set Products=per pro bla sbs srv ads dtc
  16. REM ------------------------------------------------
  17. REM Get command-line options:
  18. REM ------------------------------------------------
  19. for %%a in (./ .- .) do if ".%1." == "%%a?." goto Usage
  20. if "%1" == "" goto :Usage
  21. if NOT "%2" == "" goto :Usage
  22. for %%b in (%Platforms%) do (
  23. if NOT exist \\ntdev\release\main\usa\%1\%%b echo \\ntdev\release\main\usa\%1\%%b does not exist
  24. if exist \\ntdev\release\main\usa\%1\%%b start "Computing CRCs for build %1 %%b" perl ntcrcgen.pl \\ntdev\release\main\usa\%1\%%b \\ntbldsrv\crc$ %Products%
  25. )
  26. goto :End
  27. REM ------------------------------------------------
  28. REM Display Usage:
  29. REM ------------------------------------------------
  30. :Usage
  31. echo.
  32. echo docrc.cmd - calls ntcrcgen.pl to create crc files of the shares
  33. echo.
  34. echo Usage: DOCRC build#
  35. echo.
  36. :End
  37. endlocal