> I need to sort files according to the date they were created. 
> Is there a way to do this for files stored on an NT machine?
> 
> I have a script that reads files from a directory and then 
> creates an HTML page listing the files. (Thanks to Dan Muey 
> and Pete Emerson.)

Aw shucks it was nothin'!

> 
> But one directory contains files with the exact same title, 
> except for the date (which is NOT written to sort correctly).
> Examples: 
> "Daily Mailer 2103"(this is the Mailer for Feb 1, 2003), 
> "Daily Mailer 112102"(this is the Mailer for November 21, 
> 2002), "Daily Mailer 21103"
> (this is the Mailer for Feb 11, 2003), etc.   
> 
> I'm having to manually create an HTML page every day, with 
> the newest Mailer. Does anyone have a solution for an 

Do you mean you have a page, say todays_mailer.html and you 
always want it to have the latest one.
Or you want each mailer to have it's own page?
Or do you want one script to list the mailers in order or 
date and then when clicked display the contents?

Let em know and I'll try to help you out.

One thing that may help is to use better dates in the file names ::
020103 for feb 1, 2003 

Why you ask?

'Daily Mailer 11103'

Is that January 11th ot Novemebr 1st?

But if it was 011103 or 110103 you'd know. 

If you can't tell the difference then the script won't be able to either.
But if you can tell, then it'll be easier to make the script handle it.

DMuey

> "automatic" script? If I could sort by date created on an NT 
> machine, that would do it. (Or some sort of sorting 
> subroutine could be written that sorts out the date, but I 
> haven't figured that out yet.)
> 
> Thanks!!
> 
> Deborah
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to