Sorry forgot to add it in. Here is my code. This deletes all the folders that havent been accessed in 60 days inc admin folders.
I tried writing a script to create a file in some folders so they had been modified but for some reason it still deleted the folder
'Set the following variables...
First off, im new to these forums and this is my first post, so . . . . HEY ALL :)
Hopefully someone can help as its starting to do my head in now.
I need help in creating a script that will delete user folders that havent been accessed/modified in 60 days but not to delete specified folders...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.