I am using this line to cleanup temporary internet folder from users profile whenever they log on, but with no luck.
$tmpintfolder = "c:\winnt\%userprofile%\tempor~1\*.*"
del $tmpintfolder
I have also tried
RUN %COMSPEC% /C DEL C:\WINNT\%USERPROFILE%\TEMPOR~1\*.* /F /Q /S"

------------------
DoUntil