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.

151 lines
3.1 KiB

  1. set __BUILDMACHINE_LEN__=0
  2. set foo=%__BUILDMACHINE__:~-25%
  3. if "%foo%" == "%__BUILDMACHINE__%" (
  4. set __BUILDMACHINE_LEN__=25
  5. ) else (
  6. goto :eof
  7. )
  8. set foo=%__BUILDMACHINE__:~-24%
  9. if "%foo%" == "%__BUILDMACHINE__%" (
  10. set __BUILDMACHINE_LEN__=24
  11. ) else (
  12. goto :eof
  13. )
  14. set foo=%__BUILDMACHINE__:~-23%
  15. if "%foo%" == "%__BUILDMACHINE__%" (
  16. set __BUILDMACHINE_LEN__=23
  17. ) else (
  18. goto :eof
  19. )
  20. set foo=%__BUILDMACHINE__:~-22%
  21. if "%foo%" == "%__BUILDMACHINE__%" (
  22. set __BUILDMACHINE_LEN__=22
  23. ) else (
  24. goto :eof
  25. )
  26. set foo=%__BUILDMACHINE__:~-21%
  27. if "%foo%" == "%__BUILDMACHINE__%" (
  28. set __BUILDMACHINE_LEN__=21
  29. ) else (
  30. goto :eof
  31. )
  32. set foo=%__BUILDMACHINE__:~-20%
  33. if "%foo%" == "%__BUILDMACHINE__%" (
  34. set __BUILDMACHINE_LEN__=20
  35. ) else (
  36. goto :eof
  37. )
  38. set foo=%__BUILDMACHINE__:~-19%
  39. if "%foo%" == "%__BUILDMACHINE__%" (
  40. set __BUILDMACHINE_LEN__=19
  41. ) else (
  42. goto :eof
  43. )
  44. set foo=%__BUILDMACHINE__:~-18%
  45. if "%foo%" == "%__BUILDMACHINE__%" (
  46. set __BUILDMACHINE_LEN__=18
  47. ) else (
  48. goto :eof
  49. )
  50. set foo=%__BUILDMACHINE__:~-17%
  51. if "%foo%" == "%__BUILDMACHINE__%" (
  52. set __BUILDMACHINE_LEN__=17
  53. ) else (
  54. goto :eof
  55. )
  56. set foo=%__BUILDMACHINE__:~-16%
  57. if "%foo%" == "%__BUILDMACHINE__%" (
  58. set __BUILDMACHINE_LEN__=16
  59. ) else (
  60. goto :eof
  61. )
  62. set foo=%__BUILDMACHINE__:~-15%
  63. if "%foo%" == "%__BUILDMACHINE__%" (
  64. set __BUILDMACHINE_LEN__=15
  65. ) else (
  66. goto :eof
  67. )
  68. set foo=%__BUILDMACHINE__:~-14%
  69. if "%foo%" == "%__BUILDMACHINE__%" (
  70. set __BUILDMACHINE_LEN__=14
  71. ) else (
  72. goto :eof
  73. )
  74. set foo=%__BUILDMACHINE__:~-13%
  75. if "%foo%" == "%__BUILDMACHINE__%" (
  76. set __BUILDMACHINE_LEN__=13
  77. ) else (
  78. goto :eof
  79. )
  80. set foo=%__BUILDMACHINE__:~-12%
  81. if "%foo%" == "%__BUILDMACHINE__%" (
  82. set __BUILDMACHINE_LEN__=12
  83. ) else (
  84. goto :eof
  85. )
  86. set foo=%__BUILDMACHINE__:~-11%
  87. if "%foo%" == "%__BUILDMACHINE__%" (
  88. set __BUILDMACHINE_LEN__=11
  89. ) else (
  90. goto :eof
  91. )
  92. set foo=%__BUILDMACHINE__:~-10%
  93. if "%foo%" == "%__BUILDMACHINE__%" (
  94. set __BUILDMACHINE_LEN__=10
  95. ) else (
  96. goto :eof
  97. )
  98. set foo=%__BUILDMACHINE__:~-9%
  99. if "%foo%" == "%__BUILDMACHINE__%" (
  100. set __BUILDMACHINE_LEN__=9
  101. ) else (
  102. goto :eof
  103. )
  104. set foo=%__BUILDMACHINE__:~-8%
  105. if "%foo%" == "%__BUILDMACHINE__%" (
  106. set __BUILDMACHINE_LEN__=8
  107. ) else (
  108. goto :eof
  109. )
  110. set foo=%__BUILDMACHINE__:~-7%
  111. if "%foo%" == "%__BUILDMACHINE__%" (
  112. set __BUILDMACHINE_LEN__=7
  113. ) else (
  114. goto :eof
  115. )
  116. set foo=%__BUILDMACHINE__:~-6%
  117. if "%foo%" == "%__BUILDMACHINE__%" (
  118. set __BUILDMACHINE_LEN__=6
  119. ) else (
  120. goto :eof
  121. )
  122. set foo=%__BUILDMACHINE__:~-5%
  123. if "%foo%" == "%__BUILDMACHINE__%" (
  124. set __BUILDMACHINE_LEN__=5
  125. ) else (
  126. goto :eof
  127. )
  128. set foo=%__BUILDMACHINE__:~-4%
  129. if "%foo%" == "%__BUILDMACHINE__%" (
  130. set __BUILDMACHINE_LEN__=4
  131. ) else (
  132. goto :eof
  133. )
  134. set foo=%__BUILDMACHINE__:~-3%
  135. if "%foo%" == "%__BUILDMACHINE__%" (
  136. set __BUILDMACHINE_LEN__=3
  137. ) else (
  138. goto :eof
  139. )
  140. set foo=%__BUILDMACHINE__:~-2%
  141. if "%foo%" == "%__BUILDMACHINE__%" (
  142. set __BUILDMACHINE_LEN__=2
  143. ) else (
  144. goto :eof
  145. )
  146. set foo=%__BUILDMACHINE__:~-1%
  147. if "%foo%" == "%__BUILDMACHINE__%" (
  148. set __BUILDMACHINE_LEN__=1
  149. ) else (
  150. goto :eof
  151. )