Solved

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

Posted on 2006-06-21
4
212 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

The HP utility "HP Lights-Out Online Configuration Utility for Windows Server 2003/2008" could be of great use when it comes to remotely configure a HP servers ILO WITHOUT rebooting the server. We would only need to create and run scripts using thi…
by Batuhan Cetin Within the dynamic life of an IT administrator, we hold many information in our minds like user names, passwords, IDs, phone numbers, incomes, service tags, bills and the order from our wives to buy milk when coming back to home.…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

863 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

24 Experts available now in Live!

Get 1:1 Help Now