We have users on Outlook 2003 and 2007. We want to move to a new
exchange server.
I assume that our PRF works fine via this modification:
;************************************************* **************
; Section 4 - Default values for each service.
;************************************************* **************
[ServiceEGS]
MailboxName=%UserName%
HomeServer=servername
[Service1]
OverwriteExistingService=No
UniqueService=Yes
MailboxName=%UserName%
HomeServer=servername
AccountName=Microsoft Exchange Server
********************************************************************
However how can I add this bit to our login script so that it can
automatically tell if it needs to modify directory "OUTLOOK11" for
2003 or "Outlook 12" for 2007?
IF EXIST "%appdata%\Microsoft\OUTLOOK\OUTPRF.SET" GOTO :Next
START "" "%ProgramFiles%\Microsoft Office\OFFICE11\OUTLOOK.EXE" /
importprf "\\ex01\SYSVOL\Outlook.prf">>"%appdata%\Microsoft\OUTLOOK
\OUTPRF.SET"
:Next
IF EXIST "%appdata%\Microsoft\OUTLOOK\OUTPRF.SET" GOTO :Next
START "" "%ProgramFiles%\Microsoft Office\Office 12\OUTLOOK.EXE" /
importprf "\\ex01\SYSVOL\Outlook.prf">>"%appdata%\Microsoft\OUTLOOK
\OUTPRF.SET"
:Next