How to automatically delete items in the recycle bin that are greater than 30 days old.

Is there a way (a program or scripting) to automate deleting items from the recycle bin that are 30 days old or older?
bonadio171Asked:
Who is Participating?
 
Jay_Jay70Connect With a Mentor Commented:
the files are located in the the c:\recycler  folder, i

have a look at this link and apply to the c:\recycler folder

http://www.experts-exchange.com/Operating_Systems/MSDOS/Q_20780248.html?query=delete+files+older+than&clearTAFilter=true
0
 
bonadio171Author Commented:
Yeah, I've seen that script before but it doesn't really do what I need. I want it to run automatically every night and delete the files that are a month old. With that script you need to input a specific date. How can I modify it to delete items that are a month old?
0
 
Jay_Jay70Commented:
i can't script which is why i pointed you off onto someone who can lol! once you get your script done you can set as a scheduled task for everynight......i can at least help you there
0
All Courses

From novice to tech pro — start learning today.