OK going back to the needing admin rights. I have come across during testing that the dirplus udf above identifies the files, but does not delete the file unless the script is ran as an admin. So here is what I would like to do. I would like to create a folder on a share accessable by all. in that folder I would like to create a txt file with the PC name if it error'd while deleting that file. Is that possible? What would be the best way to add that section to my script