Solved

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

Posted on 2006-06-21
4
223 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

So you have two Windows Servers and you have a directory/folder/files on one that you'd like to mirror to the other?  You don't really want to deal with DFS or a 3rd party solution like Doubletake. You can use Robocopy from the Windows Server 200…
Many of us need to configure DHCP server(s) in their environment. We can do that simply via DHCP console on server or using MMC snap-in on each computer with Administrative Tools installed in a network. But what if we have to configure many DHCP ser…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

739 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