Jump to content

How can i delete that folder:


lifesux
 Share

Recommended Posts

What is &amp for? You have half the code commented out making it only

DirRemove(@UserProfileDir &amp
Edited by Beege
Link to comment
Share on other sites

DirRemove(@UserProfileDir &; "\Local Settings\Temporary Internet Files\ ",1)

You must know that this code does not even run, it will error, why are you even posting it, when half is still commeneted out.

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Link to comment
Share on other sites

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]

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...