echo on
REM Build root is the base directory of the build environment
SET BUILDROOT=C:\prophets

REM Location of SourceSafe executables
SET SOURCESAFELOC=C:\Program Files\Microsoft Visual Studio\Common\VSS\win32;C:\Program Files\Microsoft Visual Studio\VSS\win32;E:\Visual_SourceSafe_6.0c\VSS\Win32

REM Add Scripts directory and SS to Path
SET Path=%Path%;c:\scripts;%SOURCESAFELOC%

REM <SYNCCODE>
cd %buildroot%
md source
cd source

REM Must set source project directory
SET SSDIR=\\gameshare\share\bungie\prophets\Code

set srcproject=$/
ss cp %srcproject%
ss get -r * -vd%1;%2 -I- > %buildroot%\logs\synccode.log

REM </SYNCCODE>