ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Script to remove file clutter (https://www.excelbanter.com/excel-programming/445099-script-remove-file-clutter.html)

Mervyn Thomas[_2_]

Script to remove file clutter
 
Can anyone suggest a VB method of deleting all files on a drive who are
older than 1 year. My system is getting increasingly slow and having tried
all the normal things, I think I would like to backup an entire disk of work
files and then really purge all the files that one day I might need but
meanwhile are causing my system to limp!
Unless you have a better strategy!..................Mervyn



Don Guillett[_2_]

Script to remove file clutter
 
Easiest would be to goto windows foldersort by date select onehold
down the shift key and select the restdelete or use a find to find
between dates and do it that way. Takes less time than writing a macro
using KILL.

On Nov 4, 1:11*pm, "Mervyn Thomas" wrote:
Can anyone suggest a VB method of deleting all files on a drive who are
older than 1 year. * My system is getting increasingly slow and having tried
all the normal things, I think I would like to backup an entire disk of work
files and then really purge all the files that one day I might need but
meanwhile are causing my system to limp!
Unless you have a better strategy!..................Mervyn




All times are GMT +1. The time now is 12:07 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com