Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • December 03, 2016, 09:43:37 AM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: DONE: Program to automatically delete files with specified file extensions.  (Read 4535 times)

musicman

  • Supporting Member
  • Joined in 2007
  • **
  • default avatar
  • Posts: 9
    • View Profile
    • Donate to Member
When I launch this program, I would like for it to ask me to brows to a folder of my choosing. once I do this, the program could show me a list of file extensions in that folder, and allow me to check the ones I wish to delete. When I click finish, the program will delete any file with those specified extensions from that folder. Reason I want this is there are some folders on my computer I wish to filter in this way. Hope this isn't too difficult to code and that someone will be able to help out! Thank you guys!

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,275
    • View Profile
    • Miles Ahead Software
    • Donate to Member
You could accomplish the same thing with FreeCommander.  Navigate to a folder. At the bottom status bar there's a small input box that says "quick filter" when you mouse over it.  Put in what you want to delete such as *.jpg or whatever, only those will be shown.  Control-A to select them all.  Hit delete key.  Put in a different filter if you like to continue with another extension.

http://www.freecomma....com/fc_downl_en.htm

Plus the program has a lot of other nice features.  Sadly it's only compiled in 32 bit.

Target

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,605
    • View Profile
    • Donate to Member
this functionality probably exists in most 3rd party file managers

in total commander the numpad '+' key brings up the filter select dialog and you can enter a choice manually, or pick from a list of options (audio, video, archives, etc)

sajman99

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 664
    • View Profile
    • Donate to Member
There are a number of free search tools like those mentioned in this DC thread which can search the entire disk in mere seconds, if not milliseconds.

For example, with the search tool Everything you need only type .jpeg to find all instances of the .jpeg file extension on your system. Then you will have direct access to those files so you can delete whatever you choose. It's really so simple and fast it's truly amazing.

Also, many of these tools have optional context menu integration so that you can choose to search a specific folder.

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 4,664
    • View Profile
    • Donate to Member
Here you go (source/binary included): Download

musicman

  • Supporting Member
  • Joined in 2007
  • **
  • default avatar
  • Posts: 9
    • View Profile
    • Donate to Member
Thanks for the program, and for the great suggestions! You guys are truly awesome!

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 4,664
    • View Profile
    • Donate to Member
You're welcome.  Glad it's working for you.