I´m not sure if I did it right with the "If in group", se below...
But sadly it did not work \:\( The OLK1 folder is still there and its content.


; ---Tar bort OLK från local settings
 Code:
IF INGROUP ("del_olk")
Break on

$folder = ReadValue("HKCU\Software\Microsoft\Office\11.0\Outlook\Security", "OutlookSecureTempFolder")

Del $folder + "\*.*"
Sleep 1
RD $folder
? @ERROR
? @SERROR

Sleep 3
ENDIF


Edited by Benny69 (2009-05-12 02:22 PM)
Edit Reason: Added Code Tags