Well what I did is added a On Error resume next on the For loop, which all temp folders, most of the time have files in use, it just skips all the ones in use, and deletes the one's that are not.