Matt,
First of all.. Welcome to the board!
Second, it is good to see that there are people using my code..
If you are concerned with the script, you can do the "full-fledged" or the trimmed down version.. But, the thing is that you run the script like -
code:
kix32 outlook /d
Or, add a DEBUG ON in the script..
This information has also been updated in the FAQ Section and specifically, Exchange/Outlook Configuration.
Now, back to your question..
> Files deleted and then used..
If we look at:
code:
IF 1 <> EXIST($windir+"\Outlook.PRF")
COPY @ldrive+"PROFGEN\Outlook2000\Outlook.PRF" $windir
ENDIF
IF 1 <> EXIST ($windir+"\Profgen.exe")
COPY @ldrive+"PROFGEN\Outlook2000\Profgen.exe" $windir
ENDIF
IF 1 <> EXIST ($windir+"\NEWPROF.EXE")
COPY @ldrive+"PROFGEN\Outlook2000\NEWPROF.EXE" $windir
ENDIF
IF EXIST ($windir+"\FixPrf.EXE")
DEL $windir+"\FixPrf.EXE"
ENDIF
IF EXIST($systemdrive+"PROFGEN.exe")
DEL $systemdrive+"PROFGEN.EXE"
ENDIF
IF EXIST($systemdrive+"NEWPROF.EXE")
DEL $systemdrive+"NEWPROF.EXE"
ENDIF
Specifcally, the DEL commands..
DEL $windir+"\FixPrf.EXE" >> Not Used
DEL $systemdrive+"PROFGEN.EXE" >> We don't use this in the C:\ root anymore but from %windir%
DEL $systemdrive+"NEWPROF.EXE" >> We don't use this in the C:\ root anymore but from %windir%
I have also made some changes to this to look for not only the @userid profile, but the "MS Exchange Settings" profile too. The reason being, is that we have a number of people that have off-line e-mail and once you re-generate their inbox, you have to manually re-map the off-line folders.
I will put this updated version up later on today..
HTH,
Kent
[ 14. October 2002, 14:17: Message edited by: kdyer ]