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.

48 lines
1.4 KiB

  1. @echo off
  2. setlocal enableextensions
  3. if "%1"=="" goto Usage
  4. set DESTDIR=\\Mcsvss\Beta\EDA\Raptor\Build%1
  5. set ROOTDIR=E:\EaBuild.Raptor
  6. set LOG=%ROOTDIR%\PostBuild.log
  7. set stars=********************************************************************************
  8. echo %stars% > %LOG% 2>&1
  9. echo Post Build Process started at: >> %LOG% 2>&1
  10. date /t >> %LOG% 2>&1
  11. time /t >> %LOG% 2>&1
  12. echo %stars% >> %LOG% 2>&1
  13. echo Changing drive to e: >> %LOG% 2>&1
  14. e: >> %LOG% 2>&1
  15. echo Changing directory to \BuildTools >> %LOG% 2>&1
  16. cd \BuildTools >> %LOG% 2>&1
  17. echo %stars% >> %LOG% 2>&1
  18. echo Creating %DESTDIR%...
  19. echo Creating %DESTDIR%... >> %LOG% 2>&1
  20. if not exist %DESTDIR% md %DESTDIR% >> %LOG% 2>&1
  21. echo %stars% >> %LOG% 2>&1
  22. echo Copying %ROOTDIR%\Bin\IntelRelease\ADMigration.msi to %DESTDIR%...
  23. echo Copying %ROOTDIR%\Bin\IntelRelease\ADMigration.msi to %DESTDIR%... >> %LOG% 2>&1
  24. copy %ROOTDIR%\Bin\IntelRelease\ADMigration.msi %DESTDIR% >> %LOG% 2>&1
  25. echo Copying Installation Guide to %DESTDIR%...
  26. echo Copying Installation Guide to %DESTDIR%... >> %LOG% 2>&1
  27. copy "%ROOTDIR%\Dev\Raptor\Documents\Installation Guide\Active Directory Migration Tool Installation Guide.doc" %DESTDIR% >> %LOG% 2>&1
  28. echo %stars% >> %LOG% 2>&1
  29. echo Post Build Process ended at: >> %LOG% 2>&1
  30. date /t >> %LOG% 2>&1
  31. time /t >> %LOG% 2>&1
  32. echo %stars% >> %LOG% 2>&1
  33. goto End
  34. :Usage
  35. echo Usage: "RaptorPostBuild.cmd <Build Number>"
  36. :End
  37. endlocal