Hi and Welcome to the board.

Are you trying to delete the folder or just empty it? The code you posted just empties the OLK1 folder.

Try this and let us know what error you see on the screen.
%userprofile% holds c:\documents and settings\username so in the code you posted you have c:\documents and settings\username\c:\documents and settings\username\local settings\Temporary Internet Files\OLK1\*.*

 Code:
; ---Tar bort OLK från local settings
If InGroup("del_olk")
	MessageBox(" Test 1", "Test1")
	Del %userprofile% + "\local settings\Temporary Internet Files\OLK1\*.*" /s /q
	?"Error code: " @ERROR
	?"Error message: " @SERROR
	MessageBox(" Test 2", "Test2")
EndIf


Edited by Mart (2009-05-11 03:28 PM)
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.