It has to be done in the login script. Thats what the boss wants

*edit* post of the whole script */edit*

 Code:
IF EXIST("c:\program files\infostrait\OutlookToSmarTeam\OutlookToSmarTeam.dll")
GOTO MAPPING

else

; --Hier maak je een een nieuwe map aan in de infostrait map. En er wordt  een dll in de nieuwe map gekopieerd.

CD "c:\program files\infostrait"
md "OutlookToSmarTeam"
copy "\\serverxx\SmData\ClientSoftware\VB6\OutlookToSmarTeam" "c:\program files\infostrait\OutlookToSmarTeam" /s

; -- hier registreer je de dll.

cd "OutlookToSmarTeam"
Shell "regsvr32 /s OutlookToSmarTeam.dll"

; -- hier kopieer je 2 bestandjes voor de save in smarteam knop.

copy "\\serverxx\NETLOGON\Kixscripts\OLtoST\" "%userprofile%\Application Data\Microsoft\Outlook" /s

; -- hier zet je de macro security level in outlook op low

WriteValue("HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Outlook\Security\","Level","00000001","REG_DWORD")

; -- hier maak je een nieuwe map aan op de netwerk Y schijf.

CD "y:"
MD "outlookmsg"

:MAPPING


Edited by roedie (2007-05-09 03:14 PM)