Welcome Guest.   Make a donation to an author on the site November 27, 2014, 05:54:04 AM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
Learn about the DonationCoder.com microdonation system (DonationCredits).
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: SOLVED: List Newest Files In Some Folder  (Read 1915 times)
nkormanik
Participant
*
Posts: 292

View Profile Give some DonationCredits to this forum member
« on: June 24, 2012, 06:07:05 PM »


On request 4wd provided an excellent program to dynamically monitor the number and total size of files in a particular folder -- FolMon:

http://www.donationcoder....m/index.php?topic=31347.0

It's great for keeping track of a file-generating process that should be steadily adding files to the folder, to glance over and see numbers changing, getting larger.  The computer resources overhead seems negligable running FolMon.  I'll have it on two computers, one on either side of my main computer, running for months to come.

I have an additional related request now:

Double-click a desktop icon to bring up a small window showing the most recent files (created or modified, either one would do) within that folder.  Number of files = 5... would be great.

No need to go deeper than a single level -- just the folder itself.

No need to keep dynamically updating.  Periodically as desired user can double-click and see the result.  This way he/she will have a better idea where progress has gotten to in the overall job being monitored.

4wd might think to add it to his existing FolMon -- an additional little window within FolMon that shows file names of new files as they are added -- but doing so probably would add too much to overhead resource hogging.  Plus it's just a once-in-a-while request that user would likely be wanting, no continuous need.

I've noted out there lots of programmers requesting code to accomplish the task above -- in Python, C++, etc. -- but no simple little Windows program to do it.

Double-click ---> List 5 most recent files in folder XYZ.

I'd sure appreciate having this.

One can, as an alternative, use Windows Explorer in details mode, columns sorted on Modified (etc.) in descending order, then hit refresh periodically.  But..., if the folder has a really large number of files, the refresh takes a long time.  Maybe, though, most of you would suggest this route.  If so, that's what I'll do.

Nicholas Kormanik
nkormanik@gmail.com


Logged
TaoPhoenix
Supporting Member
**
Posts: 3,738



0 - 60 ... then back to 0 again!

see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #1 on: June 24, 2012, 06:13:14 PM »

Something like Karen's Directory Printer might be interesting. It's pretty fast, and generates a text file you can save and do things with later.
Logged
app103
That scary taskbar girl
Global Moderator
*****
Posts: 5,327



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #2 on: June 25, 2012, 06:31:11 AM »

You might prefer a different way of displaying it in Explorer. Right click and select Arrange icons by> Modified. Then check off Show in Groups.

Unlike the standard details view, when new files are added, they are auto-sorted into the groups, rather than being added to the bottom of the list, so there is no refreshing involved to keep them sorted.
Logged

mouser
First Author
Administrator
*****
Posts: 33,700



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #3 on: June 25, 2012, 06:46:52 AM »

This is only tangentially related to the question, but you can use my Launchbar Commander tool to create a toolbar with "folder menus", buttons you click to show the contents of a folder (or more than one folder), and you can set filters on how the contents of a folder can be displayed, including filtering it by date and subdirectory patterns, like so:


Might be useful if you want to be able to quickly check the contents of your folder simply by pushing a button on a docked toolbar.
Logged
lanux128
Global Moderator
*****
Posts: 6,133



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #4 on: June 25, 2012, 07:13:58 AM »

you may be interested in FileDraft by DoCo member ak_. this program is designed to display the latest files from a folder in a menu.

http://www.donationcoder....um/index.php?topic=9500.0
Logged

nkormanik
Participant
*
Posts: 292

View Profile Give some DonationCredits to this forum member
« Reply #5 on: June 25, 2012, 10:53:04 AM »


Thanks all for suggestions, especially lanux128.  ak_'s FileDraft does exactly what I was asking for.  And really speedy.

So..., unless someone else has something to add, Skwire, you can consider this request DONE.

Logged
Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.035s | Server load: 0.13 ]