in reply to Need efficient way to fetch 20 last modified files from folder

I have used this in the past to monitor when a file was added to a directory for printing. Win32::FileSystem::Watcher

I was able to modify the example code to perform the print task I needed.

  • Comment on Re: Need efficient way to fetch 20 last modified files from folder