Share this post

Link to post

Share on other sites

shornw 3

How can I delete Temporary Internet Files folder contents ? I used that code but its not working. Its trying to delete all file not contents, so windows dont let it.

You have identified that your script is trying to remove the folder 'Temporary Internet Files' instead of the contents so why are you using DirRemove()? Use Filedelete() with wildcards to remove the files (see AutoIt help files)

[font='Comic Sans MS']Eagles may soar high but weasels dont get sucked into jet engines[/font]