3@echo off
:MENU
cls

echo.
echo.
echo                               Office Selection
echo                               ~~~~~~~~~~~~~~~~
echo.
echo.
echo.
echo                             [1] Unit 32
echo.
echo                             [2] Warehouse
echo.
echo                             [3] Fulham
echo.
echo                             [4] Putney
echo.
echo                             [5] Raynes Park
echo.
echo                             [6] Sheen
echo.

echo.
choice /C:123456 "Select your office: " 
if errorlevel 6 goto Sheen
if errorlevel 5 goto RaynesPk
if errorlevel 4 goto Putney
if errorlevel 3 goto Fulham
if errorlevel 2 goto Warehouse
if errorlevel 1 goto Unit32

rem ************************** START OF UNIT32  **************************v

:Unit32

regedit /s C:\MrC\Setup\XPSourcePathsUnit32.reg
rename C:\MrC\Setup\Shop.txt Unit32.txt
cls
echo.
echo.
echo                               PC Selection
echo                               ~~~~~~~~~~~~
echo.
echo.
echo.
echo                             [1] Main Office (By Hosts)
echo.
echo                             [2] Accounts Office (Alison)
echo.
echo                             [3] Accounts Office (Jenny)
echo.

echo.
choice /C:123 "Select your office location: " 
if errorlevel 3 goto accountsjenny
if errorlevel 2 goto accountsalison
if errorlevel 1 goto mainoffice

:mainoffice
regedit /s C:\MRC\Setup\Office2003KeyUnit321.reg
goto unit32email

:accountsalison
regedit /s C:\MRC\Setup\Office2003KeyUnit322.reg
goto unit32email

:accountsjenny
regedit /s C:\MRC\Setup\office2003KeyUnit323.reg
goto unit32email


:unit32email

cls

echo.
echo.
echo                               User Selection
echo                               ~~~~~~~~~~~~~~
echo.
echo.
echo.
echo                             [1] Alison Guyan
echo.
echo                             [2] Jenny Graham
echo.

echo.
choice /C:12 "Confirm who you are: " 
if errorlevel 2 goto jennygraham
if errorlevel 1 goto alisonguyan


:alisonguyan
copy C:\MrC\Setup\Email\AlisonGuyan.PRF  "C:\Documents and Settings\All Users\Desktop" /y
rename "C:\Documents and Settings\All Users\Desktop\AlisonGuyan.PRF" "Setup Email for Alison Guyan.prf"
goto end

:jennygraham
copy C:\MrC\Setup\Email\JennyGraham.PRF  "C:\Documents and Settings\All Users\Desktop" /y
rename "C:\Documents and Settings\All Users\Desktop\JennyGraham.PRF" "Setup Email for Jenny Graham.prf"
goto end



rem ************************** END OF UNIT32  **************************



:Warehouse

regedit /s C:\MrC\Setup\XPSourcePathsWarehouse.reg
goto end




rem ************************** START OF FULHAM BRANCH  **************************


:Fulham
regedit /s C:\MrC\Setup\XPSourcePathsFulham.reg
rename C:\MrC\Setup\Shop.txt Fulham.txt
cls

echo.
echo.
echo                               PC Selection
echo                               ~~~~~~~~~~~~
echo.
echo.
echo.
echo                             [1] Shop PC
echo.
echo                             [2] Front Basement PC
echo.
echo                             [3] Rear Basement PC
echo.

echo.
choice /C:123 "Select your office location: " 
if errorlevel 3 goto fulrearbas
if errorlevel 2 goto fulfrontbas
if errorlevel 1 goto fulshoppc

:fulshoppc
regedit /s C:\MRC\Setup\Office2003KeyFulham1.reg
goto fulhamemail

:fulfrontbas
regedit /s C:\MRC\Setup\Office2003KeyFulham2.reg
goto fulhamemail

:fulrearbas
regedit /s C:\MRC\Setup\office2003KeyFulham3.reg
goto fulhamemail


:fulhamemail

cls

echo.
echo.
echo                               User Selection
echo                               ~~~~~~~~~~~~~~
echo.
echo.
echo.
echo                             [1] Colin Symonds
echo.
echo                             [2] John McArthur
echo.
echo                             [3] Paul Southam
echo.

echo.
choice /C:123 "Confirm who you are: " 
if errorlevel 3 goto paulsoutham
if errorlevel 2 goto johnmcarthur
if errorlevel 1 goto colinsymonds


:paulsoutham
copy C:\MrC\Setup\Email\PaulSoutham.PRF  "C:\Documents and Settings\All Users\Desktop" /y
rename "C:\Documents and Settings\All Users\Desktop\PaulSoutham.PRF" "Setup Email for Paul Southam.prf"
goto end

:johnmcarthur
copy C:\MrC\Setup\Email\JohnMcArthur.PRF  "C:\Documents and Settings\All Users\Desktop" /y
rename "C:\Documents and Settings\All Users\Desktop\JohnMcArthur.PRF" "Setup Email for John McArthur.prf"
goto end

:colinsymonds
copy C:\MrC\Setup\Email\ColinSymonds.PRF  "C:\Documents and Settings\All Users\Desktop" /y
rename "C:\Documents and Settings\All Users\Desktop\ColinSymonds.PRF" "Setup Email for Colin Symonds.prf"
goto end



rem ************************** END OF FULHAM BRANCH  **************************




:Putney
rename C:\MrC\Setup\Shop.txt Putney.txt
regedit /s C:\MrC\Setup\XPSourcePathsPutney.reg
goto end

:RaynesPk
rename C:\MrC\Setup\Shop.txt RaynesPk.txt
regedit /s C:\MrC\Setup\XPSourcePathsRaynesPk.reg
goto end

:Sheen
rename C:\MrC\Setup\Shop.txt Sheen.txt
regedit /s C:\MrC\Setup\XPSourcePathsSheen.reg
goto end

:end
