topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Thursday April 18, 2024, 12:41 am
  • Proudly celebrating 15+ 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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - dojima [ switch to compact view ]

Pages: [1]
1
Finished Programs / DONE: File/Folder Deleter Based on Text File
« on: October 02, 2009, 06:49 AM »
I've been looking for a program that can do this for a few hours with no luck.  I would think it's something that's very easy to do, but then again, I'm not a programmer.

As the subject states, I'm wondering if it's possible to create a program that will delete files and folders based on a text file with their full paths given, delimited by line breaks.  For example, a txt file with the following,

c:\folder to be deleted
e:\folder\file to be deleted.jpg

would delete those two items when chosen by the program.  Perhaps a good way to handle this is to be able to open or drag the txt file to the program window and have it show the list of items to be deleted before clicking a button to carry out the action.  Alternatively, pasting the list directly from the clipboard might be useful.  By deletion, I simply mean the action of moving the files/folders listed to the recycle bin.

Upon completion of the recycling task, I envision a status window popping up that says something like, "x files deleted and y files skipped." in the event that certain files on the list were either in use or simply do not exist.  Altering the original list of items from black to green or red based on recycled or skipped status respectively might be a good way to show this visually, though I don't know how overly difficult I may be making the coding of the program by requesting this.  Additionally, it might be useful to have the option of specifying other delimiters such as colons, vertical bars, etc.

Thanks.

Pages: [1]