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.

169 lines
4.3 KiB

  1. Echo OFF
  2. if (%1)==() goto ERROR
  3. call net use /d x:
  4. call net use X: \\MOO-DIST\D$
  5. X:
  6. if errorlevel 1 goto failure
  7. Echo ---------------------------------
  8. Echo Creating A new %1 Directory in Public Share...
  9. Echo ---------------------------------
  10. md %1
  11. cd %1
  12. Echo ---------------------------------
  13. Echo Copy Sdkinc Directory....
  14. Echo ---------------------------------
  15. md sdkinc
  16. cd sdkinc
  17. xcopy %_NTBINDIR%\windows\AdvCore\gdiplus\sdkinc\*.* /s
  18. if errorlevel 1 goto failure
  19. cd ..
  20. Echo ---------------------------------
  21. Echo Copying the Specs directory....
  22. Echo ---------------------------------
  23. md specs
  24. cd specs
  25. xcopy %_NTBINDIR%\windows\AdvCore\gdiplus\specs\*.* /s
  26. if errorlevel 1 goto failure
  27. cd ..
  28. Echo ---------------------------------
  29. Echo Copying Sources....
  30. Echo ---------------------------------
  31. md src
  32. cd src
  33. cd /d %_NTBINDIR%\windows\AdvCore\gdiplus
  34. xcopy /s *.* X:\%1\src /v /EXCLUDE:killfile.txt
  35. if errorlevel 1 goto failure
  36. cd ..
  37. Echo ---------------------------------
  38. Echo Copying Version....
  39. Echo ---------------------------------
  40. md Version
  41. cd Version
  42. copy %_NTBINDIR%\windows\AdvCore\gdiplus\engine\flat\gpverp.h
  43. if errorlevel 1 goto failure
  44. Echo ---------------------------------
  45. Echo Installing x86chk files...
  46. Echo ---------------------------------
  47. cd /d x:\%1
  48. md x86chk
  49. cd x86chk
  50. Echo ---------------------------------
  51. Echo Copying DLL x86chk files...
  52. Echo ---------------------------------
  53. md dll
  54. CD dll
  55. copy %_NTBINDIR%\windows\AdvCore\gdiplus\engine\flat\dll\objd\i386\gdip*
  56. copy %_NTBINDIR%\windows\AdvCore\gdiplus\engine\flat\dll\objd\i386\*.pdb
  57. if errorlevel 1 goto failure
  58. cd ..
  59. Echo ---------------------------------
  60. Echo Copying Lib x86chk files.....
  61. Echo ---------------------------------
  62. md lib
  63. cd lib
  64. copy %_NTBINDIR%\windows\AdvCore\gdiplus\engine\flat\lib\objd\i386\gdipstat.lib
  65. if errorlevel 1 goto failure
  66. cd ..
  67. Echo ---------------------------------
  68. Echo Copying Test x86chk Exes...
  69. Echo ---------------------------------
  70. md test
  71. cd test
  72. copy %_NTBINDIR%\windows\AdvCore\gdiplus\test\dlltest\objd\i386\*.exe
  73. if errorlevel 1 goto failure
  74. copy %_NTBINDIR%\windows\AdvCore\gdiplus\test\fonttest\objd\i386\*.exe
  75. if errorlevel 1 goto failure
  76. copy %_NTBINDIR%\windows\AdvCore\gdiplus\test\texttest\objd\i386\*.exe
  77. if errorlevel 1 goto failure
  78. copy %_NTBINDIR%\windows\AdvCore\gdiplus\test\functest\objd\i386\*.exe
  79. if errorlevel 1 goto failure
  80. CD ..
  81. Echo ---------------------------------
  82. Echo Copying USP10 x86chk files...
  83. Echo ---------------------------------
  84. md USP10
  85. cd USP10
  86. copy %_NTBINDIR%\windows\advcore\gdiplus\Engine\text\uniscribe\usp10\objd\i386\usp10.dll
  87. if errorlevel 1 goto failure
  88. cd ..
  89. Echo ---------------------------------
  90. Echo Installing x86fre files...
  91. Echo ---------------------------------
  92. cd /d x:\%1
  93. md x86fre
  94. cd x86fre
  95. Echo ---------------------------------
  96. Echo Copying DLL x86fre files...
  97. Echo ---------------------------------
  98. md dll
  99. CD dll
  100. copy %_NTBINDIR%\windows\AdvCore\gdiplus\engine\flat\dll\obj\i386\gdip*
  101. copy %_NTBINDIR%\windows\AdvCore\gdiplus\engine\flat\dll\obj\i386\*.pdb
  102. if errorlevel 1 goto failure
  103. cd ..
  104. Echo ---------------------------------
  105. Echo Copying Lib x86fre files.....
  106. Echo ---------------------------------
  107. md lib
  108. cd lib
  109. copy %_NTBINDIR%\windows\AdvCore\gdiplus\engine\flat\lib\obj\i386\gdipstat.lib
  110. if errorlevel 1 goto failure
  111. cd ..
  112. Echo ---------------------------------
  113. Echo Copying Test x86fre Exes...
  114. Echo ---------------------------------
  115. md test
  116. cd test
  117. copy %_NTBINDIR%\windows\AdvCore\gdiplus\test\dlltest\obj\i386\*.exe
  118. if errorlevel 1 goto failure
  119. copy %_NTBINDIR%\windows\AdvCore\gdiplus\test\fonttest\obj\i386\*.exe
  120. if errorlevel 1 goto failure
  121. copy %_NTBINDIR%\windows\AdvCore\gdiplus\test\texttest\obj\i386\*.exe
  122. if errorlevel 1 goto failure
  123. copy %_NTBINDIR%\windows\AdvCore\gdiplus\test\functest\objd\i386\*.exe
  124. if errorlevel 1 goto failure
  125. CD ..
  126. Echo ---------------------------------
  127. Echo Copying USP10 x86fre files...
  128. Echo ---------------------------------
  129. md USP10
  130. cd USP10
  131. copy %_NTBINDIR%\windows\advcore\gdiplus\Engine\text\uniscribe\usp10\obj\i386\usp10.dll
  132. if errorlevel 1 goto failure
  133. cd ..
  134. goto END
  135. :ERROR
  136. Echo Please specify the Directory
  137. Echo Like 092299
  138. goto END
  139. :failure
  140. echo CopyBuild.bat file Failed !! Please check..
  141. :END
  142. Echo ON