echo on
REM Build root is the base directory of the build environment
SET BUILDROOT=c:\phoenix

REM Location of SourceSafe executables
SET SOURCESAFELOC=C:\Program Files\Microsoft Visual Studio\Common\VSS\win32

REM Add Scripts directory and SS to Path
REM SET Path=%Path%;c:\scripts;%SOURCESAFELOC%;C:\Program Files\Microsoft Xbox SDK\Xbox\Bin
SET Path=c:\phoenix\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\WinZip;C:\Program Files\Microsoft Xbox SDK\Xbox\Bin;c:\vslick\win;C:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT;C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;C:\Program Files\Microsoft Visual Studio\Common\Tools;C:\Program Files\Microsoft Visual Studio\VC98\bin;C:\Program Files\Microsoft Platform SDK\Bin\;C:\Program Files\Microsoft Platform SDK\Bin\WinNT;C:\Program Files\Microsoft Xbox SDK\Bin;C:\Program Files\Microsoft Xbox SDK\Xbox\Bin;c:\scripts;%SOURCESAFELOC%

cd %buildroot%
del /f debug.txt

rd /s /q %buildroot%\sacks
md %buildroot%\sacks
cd %buildroot%
c:\phoenix\bin\%1 > %buildroot%\logs\sackup.log

cd %buildroot%
del /f toolbeta.*


