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.

84 lines
1.9 KiB

  1. @echo off
  2. set FileName=%6
  3. set FileType=%3
  4. set Limitechars=%4
  5. set FilePath=%2
  6. set BinPath=%_NTPOSTBLD%
  7. if %FileName%==intl.inf goto eof
  8. if %FileName%==ntprint.inf goto eof
  9. if NOT %FileType%==setup_inf goto eof
  10. if %Limitechars%==ansi goto eof
  11. :skipcheck
  12. rem wksinfs
  13. pushd %BinPath%
  14. cd %FilePath%
  15. echo unitohex -a %FileName% %FileName%.tmp %LogFile%
  16. unitohex -a %FileName% %FileName%.tmp %LogFile%
  17. copy %FileName%.tmp %FileName% >> %LogFile%
  18. del /q %FileName%.tmp
  19. popd
  20. rem blainfs
  21. pushd %BinPath%\blainf
  22. cd %FilePath%
  23. echo unitohex -a %FileName% %FileName%.tmp %LogFile%
  24. unitohex -a %FileName% %FileName%.tmp %LogFile%
  25. copy %FileName%.tmp %FileName% >> %LogFile%
  26. del /q %FileName%.tmp
  27. popd
  28. rem srvinfs
  29. pushd %BinPath%\srvinf
  30. cd %FilePath%
  31. echo unitohex -a %FileName% %FileName%.tmp %LogFile%
  32. unitohex -a %FileName% %FileName%.tmp %LogFile%
  33. copy %FileName%.tmp %FileName% >> %LogFile%
  34. del /q %FileName%.tmp
  35. popd
  36. rem entinfs
  37. pushd %BinPath%\entinf
  38. cd %FilePath%
  39. echo unitohex -a %FileName% %FileName%.tmp %LogFile%
  40. unitohex -a %FileName% %FileName%.tmp %LogFile%
  41. copy %FileName%.tmp %FileName% >> %LogFile%
  42. del /q %FileName%.tmp
  43. popd
  44. rem dtcinfs
  45. pushd %BinPath%\dtcinf
  46. cd %FilePath%
  47. echo unitohex -a %FileName% %FileName%.tmp %LogFile%
  48. unitohex -a %FileName% %FileName%.tmp %LogFile%
  49. copy %FileName%.tmp %FileName% >> %LogFile%
  50. del /q %FileName%.tmp
  51. popd
  52. rem sbsinfs
  53. pushd %BinPath%\sbsinf
  54. cd %FilePath%
  55. echo unitohex -a %FileName% %FileName%.tmp %LogFile%
  56. unitohex -a %FileName% %FileName%.tmp %LogFile%
  57. copy %FileName%.tmp %FileName% >> %LogFile%
  58. del /q %FileName%.tmp
  59. popd
  60. rem perinfs
  61. pushd %BinPath%\perinf
  62. cd %FilePath%
  63. echo unitohex -a %FileName% %FileName%.tmp %LogFile%
  64. unitohex -a %FileName% %FileName%.tmp %LogFile%
  65. copy %FileName%.tmp %FileName% >> %LogFile%
  66. del /q %FileName%.tmp
  67. popd
  68. :eof