Solved

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

Posted on 2006-06-21
4
210 Views
Last Modified: 2010-04-18
Is there a way (a program or scripting) to automate deleting items from the recycle bin that are 30 days old or older?
0
Comment
Question by:bonadio171
  • 2
4 Comments
 
LVL 48

Accepted Solution

by:
Jay_Jay70 earned 350 total points
ID: 16956000
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
 

Author Comment

by:bonadio171
ID: 16959337
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
 
LVL 48

Expert Comment

by:Jay_Jay70
ID: 16964696
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

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

This may not be a text book method to resolve VSS backup issues but it seemed to have worked on few of the Windows 2003 servers we had issues while performing a Volume Shadow Copy backup. If you have issues while performing a shadow copy backup usin…
I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that. In this Article I'll show how to deploy printers automatically with group policy and then using security fil…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now