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.

35 lines
772 B

  1. @echo off
  2. setlocal enableextensions
  3. set COPYCMD=xcopy /e /c /i /q /h /k
  4. set INTELROOT=E:\EaBuild.DMA
  5. set BUILDDIR=%1
  6. if '%BUILDDIR%' == '' goto Usage
  7. if exist %BUILDDIR% goto DirExists
  8. echo Copying %INTELROOT%\Bin to %BUILDDIR%\Bin...
  9. %COPYCMD% %INTELROOT%\Bin %BUILDDIR%\Bin
  10. echo Copying %INTELROOT%\Dev to %BUILDDIR%\Dev...
  11. %COPYCMD% %INTELROOT%\Dev %BUILDDIR%\Dev
  12. echo Copying %INTELROOT%\Lib to %BUILDDIR%\Lib...
  13. %COPYCMD% %INTELROOT%\Lib %BUILDDIR%\Lib
  14. echo Copying %INTELROOT%\Temp to %BUILDDIR%\Temp...
  15. %COPYCMD% %INTELROOT%\Temp %BUILDDIR%\Temp
  16. echo Copying %INTELROOT%\*.log to %BUILDDIR%...
  17. copy %INTELROOT%\*.log %BUILDDIR%
  18. goto End
  19. :DirExists
  20. echo %BUILDDIR% already exists.
  21. goto End
  22. :Usage
  23. echo Usage: DmaArchiveBuild.cmd BuildRootDir
  24. :End
  25. endlocal