I provide support to a lot of clients. I have created a folder for each client, and under each client folder, I create a folder for the date on which the issue was reported.

Now due to growing data, I want to delete all issues for all clients which are before a cut off date.

The problem is while creating the date folder, I have not always followed a specific convention, some are creating using dd-MM-yyyy, some are using dd.MM.yyyy, etc.

Is there a quick way I can list all such date subfolders, and then choose which ones I do not want, and delete them?

  • an old logic would be you can create a customized .bat file which will do this stuff for you :) – Lucifer Oct 27 '12 at 10:41
  • I have worked with batch files long ago. How can I select folders in batch file, since they do not follow a standard naming convention. If I can see the folder search results in explorer for only 2nd level folders, then I can quickly decide which ones I want to delete. Alternately, we can do it based on folder creation date time. I feel a GUI based solution will be better, but can you give me some more clues about batch file, like which set of commands will be helpful in this case – AllSolutions Oct 27 '12 at 10:45
  • I have gone through forfiles command, but it is based on last modified date time, not created date time. – AllSolutions Oct 27 '12 at 10:48
  • for the GUI base solution, you can develop a customized application in Visual Basic 6.0, its easy one. – Lucifer Oct 27 '12 at 10:49
  • I am looking for some utility which is ready. I do not want to get into programming for this. – AllSolutions Oct 27 '12 at 11:11

in Total Commander with Cntl+B you see the whole files under those folder and delete that you want

if your files or folders have similar attribute , i could help you more.

you can use another tools like Servant Salamander

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.