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.

50 lines
1.2 KiB

  1. @echo off
  2. if .%2 == . goto BAD2
  3. if %1 == obj goto GOOD1
  4. if %1 == objd goto GOOD2
  5. goto BAD1
  6. :GOOD1
  7. echo Collecting %1 binaries to %2
  8. copy cabpack\%1\i386\iexpress.exe %2
  9. copy wextract\%1\i386\wextract.exe %2
  10. copy updfile\%1\i386\updfile.exe %2
  11. copy advpack\%1\i386\advpack.dll %2
  12. copy tools\bin\x86\w95inf32.dll %2
  13. copy tools\bin\x86\w95inf16.dll %2
  14. copy tools\bin\x86\makecab.exe %2
  15. goto DONE
  16. :GOOD2
  17. echo Collecting %1 binaries to %2
  18. copy cabpack\%1\i386\iexpress.exe %2
  19. copy wextract\%1\i386\wextract.exe %2
  20. copy updfile\%1\i386\updfile.exe %2
  21. copy advpack\%1\i386\advpack.dll %2
  22. copy cabpack\%1\i386\iexpress.pdb %2
  23. copy wextract\%1\i386\wextract.pdb %2
  24. copy advpack\%1\i386\advpack.pdb %2
  25. copy tools\bin\x86\w95inf32.dll %2
  26. copy tools\bin\x86\w95inf16.dll %2
  27. copy tools\bin\x86\makecab.exe %2
  28. goto DONE
  29. :BAD2
  30. echo *** Incorrect syntax: No destination directory specified.
  31. goto BADPARMS
  32. :BAD1
  33. echo *** Incorrect syntax: Build type must be DEBUG or RETAIL.
  34. goto BADPARMS
  35. :BADPARMS
  36. echo SYNTAX: collect retail \\psd1\products\iexpress\bld1091\retail
  37. goto END
  38. :DONE
  39. echo All done!
  40. goto END
  41. :END