Jump to content
Sign in to follow this  
Vindicator209

First File in Directory

Recommended Posts

Vindicator209

hey again, sorry about this question, but what can I used to find the file name of the FIRST file (in order of listing, likely alphabetized)?

I'm pretty sure theres a UDF for this, if not already a function, my brain just isint working today..

my scenario is that my program makes a new .ECJ file every day, and each file is named by the date such as (20071010) andtomorrow (20071011) and so forth, and I need to locate the earliest file...

any ways to work around this? it doesnt necessarily be what I asked, maybe something like reading the date created ECT....

Thanks, Method Zero


[center]"When you look at old, classic games like Snake, you often put it off because it's such a simple game, but it's only when you actually try and create your own unique game from scratch, do you finally appreciate those games."[/center][center]Don't ask for answers if you haven't TRIED yet![/center][center]Most answers can be answered in the help file! Use it![/center]

Share this post


Link to post
Share on other sites
SmOke_N

_FileListToArray+_ArraySort?


Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites
Vindicator209

Works for me, thanks... I used to have all this stuff in my head but 2 months without a computer to program with can do this to ya..


[center]"When you look at old, classic games like Snake, you often put it off because it's such a simple game, but it's only when you actually try and create your own unique game from scratch, do you finally appreciate those games."[/center][center]Don't ask for answers if you haven't TRIED yet![/center][center]Most answers can be answered in the help file! Use it![/center]

Share this post


Link to post
Share on other sites
weaponx

FileFindFirstFile()???

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.