--- Charles Maier wrote: > I have a Perl app that catalogs photo files. IS > there a quicker way of > finding "the newest" file date in a directory other > than doing a stat on > each file in it?? How?? >
"dir /o-d /a-d" lists files in the directory by reverse date. send the results of this command to a variable or a file. the topmost (first) entry will be your newest file. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ Perl-Win32-Users mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
