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.

20 lines
339 B

  1. @echo off
  2. setlocal enableextensions
  3. set COPYCMD=xcopy /e /c /i /q /h /k
  4. set BUILDDIR=%1
  5. set FREEZERDIR=%2
  6. if '%BUILDDIR%' == '' goto Usage
  7. if '%FREEZERDIR%' == '' goto Usage
  8. echo Copying %BUILDDIR% to %FREEZERDIR%...
  9. %COPYCMD% %BUILDDIR% %FREEZERDIR%
  10. goto End
  11. :Usage
  12. echo Usage: FreezeBuild.cmd BuildRootDir FreezerDir
  13. :End
  14. endlocal