@echo OFF
REM Sync config files if local is newer than remote.

REM Settings
set PROJECT=MfgDocumentation
set WEBSITE=MfgDoc
REM End Settings

REM Dev 
echo.
echo Deploy DEV %PROJECT% to DEV %WEBSITE%
xcopy /Y /D %PROJECT%\app_dev.config \\towmfg08\c$\Inetpub\wwwroot\%WEBSITE%\
xcopy /Y /D %PROJECT%\conn_dev.config \\towmfg08\c$\Inetpub\wwwroot\%WEBSITE%\

REM Test
echo.
echo Deploy TEST %PROJECT% to TEST %WEBSITE%
xcopy /Y /D %PROJECT%\app_test.config \\towmfg07\c$\Inetpub\wwwroot\%WEBSITE%\
xcopy /Y /D %PROJECT%\app_test.config \\towmfg06\c$\Inetpub\wwwroot\%WEBSITE%\
xcopy /Y /D %PROJECT%\conn_test.config \\towmfg07\c$\Inetpub\wwwroot\%WEBSITE%\
xcopy /Y /D %PROJECT%\conn_test.config \\towmfg06\c$\Inetpub\wwwroot\%WEBSITE%\

REM Prod
echo.
echo Deploy PROD %PROJECT% to PROD %WEBSITE%
xcopy /Y /D %PROJECT%\app_prod.config \\towmfg04\c$\Inetpub\wwwroot\%WEBSITE%\
xcopy /Y /D %PROJECT%\app_prod.config \\mylmfg03\c$\Inetpub\wwwroot\%WEBSITE%\
xcopy /Y /D %PROJECT%\conn_prod.config \\towmfg04\c$\Inetpub\wwwroot\%WEBSITE%\
xcopy /Y /D %PROJECT%\conn_prod.config \\mylmfg03\c$\Inetpub\wwwroot\%WEBSITE%\