Jump to content
Sign in to follow this  

FileFindFirstFile () problem

Recommended Posts



I have a strange behaviour with the filefindfirstfile () funtion. maybe someone can help me with that issue...

what I want do to? I want to find every "*.log" files in a special directory, let's say this directory is c:\temp. in this directory I have this files:





I assumed that when I do the following:

$search = FileFindFirstFile ("*.log")

I'll just get a search handle to the "*.log" files and not to the "*.log_*" files. but in fact when I later go trough the search handle $search with

$file_log = FileFindNextFile($search)

I also get the "0002.log_lix" and "0003.log_jix"!

did I miss something at this point? can someone give me a clue? it seems to me like it is totally unlogical to get this file within the search handle...




Share this post

Link to post
Share on other sites

i cant help you with this but you will get more help if you write in the support forum

My Scripts:Radioblog Club Music DownloaderOther stuff:Fun movieIm serious read the help file it helps :PFight 'Till you drop. Never stop, You Cant give up. Til you reach the top Fight! youÂ’re the best in town Fight!

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.