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.

75 lines
2.1 KiB

  1. @echo off
  2. rem --------------------------------------------------------------------------
  3. rem getuxbud.bat
  4. rem - first param (%1%) is nt_root_path (ex: \\rfernand7\nt_d)
  5. rem - second param (%2%) is OPTIONAL obj node name (ex: objd)
  6. rem - third param (%3%) is OPTIONAL "quick" (copy core stuff if non-empty)
  7. rem --------------------------------------------------------------------------
  8. if not "%1%"=="" goto got1
  9. echo error - NTROOTDIR not specified (ex: getuxbud \\rfernand7\d\nt)
  10. goto exit
  11. :got1
  12. if not "%2%"=="" goto got2
  13. set uxobj=obj
  14. goto past2
  15. :got2
  16. set uxobj=%2%
  17. :past2
  18. set ntroot=%1%
  19. set themeroot=%ntroot%\shell\themes
  20. set toolroot=%ntroot%\tools\x86
  21. md \uxbud
  22. cd \uxbud
  23. rem ---- copy uxbud.exe & the main compare file ----
  24. xcopy %themeroot%\uxbud\%uxobj%\i386\uxbud.exe . /y
  25. xcopy %themeroot%\uxbud\%uxobj%\i386\uxbud.pdb . /y
  26. xcopy %themeroot%\uxbud\*.ok . /y
  27. xcopy %themeroot%\uxbud\*.ini . /y
  28. if not "%3%"=="" goto exit
  29. rem ---- copy test files ----
  30. xcopy %themeroot%\uxbud\bitmaps.exe . /y
  31. xcopy %themeroot%\uxbud\image.png . /y
  32. rem ---- copy theme tools ----
  33. xcopy %themeroot%\packthem\%uxobj%\i386\packthem.exe . /y
  34. xcopy %themeroot%\clipper\%uxobj%\i386\clipper.exe . /y
  35. xcopy %themeroot%\imagecon\%uxobj%\i386\imagecon.exe . /y
  36. rem ---- copy needed general tools ----
  37. xcopy %toolroot%\cvtres.exe . /y
  38. xcopy %toolroot%\link.exe . /y
  39. xcopy %toolroot%\rc.exe . /y
  40. xcopy %toolroot%\mspdb70.dll . /y
  41. xcopy %toolroot%\msvcr70.dll . /y
  42. xcopy %toolroot%\rcdll.dll . /y
  43. xcopy %toolroot%\windiff.exe . /y
  44. xcopy %toolroot%\gutils.dll . /y
  45. rem ----- copy "professional" THEME file ------
  46. md %windir%\resources\themes\Professional
  47. cd /d %windir%\resources\themes\Professional
  48. echo xx > professional.msstyles
  49. xcopy %themeroot%\themedir\professional\obj\i386\pro.mst professional.msstyles /f /y
  50. cd \uxbud
  51. rem ----- copy "mallard" THEME file ------
  52. md %windir%\resources\themes\test
  53. cd /d %windir%\resources\themes\test
  54. echo xx > test.msstyles
  55. xcopy %themeroot%\themedir\mallard\obj\i386\test.mst test.msstyles /f /y
  56. cd \uxbud
  57. rem ---- extract bitmaps from zip file ----
  58. bitmaps.exe -over=all
  59. :exit