![]() |
Deleting Unwanted Files
I have a list of file names that I want to keep. The directory has 3119
files total. How do I loop thru the directory and kill the files not in my list? |
Deleting Unwanted Files
Make a new (dummy) directory (lets refer to this as "new directory")
copy all the files to new directory clear the original directory Move back using your list remove the new directory -- Regards, Tom Ogilvy "TEB2" wrote in message ... I have a list of file names that I want to keep. The directory has 3119 files total. How do I loop thru the directory and kill the files not in my list? |
All times are GMT +1. The time now is 04:09 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com