windows-nt/Source/XPSP1/NT/admin/admt/buildtools/freezebuild.cmd
2020-09-26 16:20:57 +08:00

21 lines
339 B
Batchfile

@echo off
setlocal enableextensions
set COPYCMD=xcopy /e /c /i /q /h /k
set BUILDDIR=%1
set FREEZERDIR=%2
if '%BUILDDIR%' == '' goto Usage
if '%FREEZERDIR%' == '' goto Usage
echo Copying %BUILDDIR% to %FREEZERDIR%...
%COPYCMD% %BUILDDIR% %FREEZERDIR%
goto End
:Usage
echo Usage: FreezeBuild.cmd BuildRootDir FreezerDir
:End
endlocal