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.

51 lines
1.2 KiB

  1. @echo off
  2. setlocal EnableDelayedExpansion
  3. if "%1" == "" (
  4. echo No build number given, exiting.
  5. goto :End
  6. )
  7. set /a BuildNumber=%1
  8. if "!BuildNumber!" == "0" (
  9. echo Invalid build number given, exiting.
  10. goto :End
  11. )
  12. if "%2" NEQ "" (
  13. set BuildQly=%2
  14. ) else (
  15. set BuildQly=tst
  16. echo assuming TST quality ...
  17. )
  18. set BadList=
  19. for %%a in (%BuildNumber% latest.%BuildQly%) do (
  20. for %%b in (x86fre x86chk amd64fre amd64chk ia64fre ia64chk) do (
  21. set ThisPlat=%%b
  22. if /i "!ThisPlat:~0,3!" == "x86" (
  23. set TheseFlavors=per pro bla sbs srv ads dtc
  24. ) else (
  25. set TheseFlavors=pro ads dtc
  26. )
  27. for %%c in (!TheseFlavors!) do (
  28. set ThisBad=
  29. if not exist \\winbuilds\release\main\usa\%%a\%%b\%%c\win51 (
  30. if not exist \\winbuilds2\release\main\usa\%%a\%%b\%%c\win51 (
  31. if not exist \\winbuilds3\release\main\usa\%%a\%%b\%%c\win51 (
  32. echo %%a %%b %%c bad
  33. set BadList=!BadList! %%a.%%b.%%c
  34. set ThisBad=TRUE
  35. )
  36. )
  37. )
  38. if not defined ThisBad echo good on %%a %%b %%c
  39. )
  40. )
  41. )
  42. if defined BadList (
  43. echo Bad dfs points are: %BadList%
  44. )
  45. :End
  46. endlocal