Jump to content
Sign in to follow this  
tamir

dir scanning

Recommended Posts

tamir

when i scan a directory with FileFindFirstFile and FileFindNextFile i make it scan for *.* and i thought it means all the files, but it includes the folders too, so how can i scan only for files?

the other question is a question that i ask alot but i get no answer.

i don't know if its because u don't see it or u don't know it, so here it is:

can i let the user select more then 1 option in GUICtrlCreateList?

Share this post


Link to post
Share on other sites
JSThePatriot

the other question is a question that i ask alot but i get no answer.

i don't know if its because u don't see it or u don't know it, so here it is:

can i let the user select more then 1 option in GUICtrlCreateList?

<{POST_SNAPBACK}>

I havent been able to find much, and as I am not advanced enough in C++ yet to look at the source I would have to say that you can only select one at a time :-/.

As a work around you could possibly select one and add it to an array (after which you remove it from the list). You could then display a list of the selected items. They could add/remove both ways.

JS


AutoIt Links

File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out.

ComputerGetInfo UDF's Updated! 11-23-2006

External Links

Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more)

Share this post


Link to post
Share on other sites
w_sp8er

I've seen that you can use wild cards like this:

*.*

Can you also use this wildcard?

*.???

for searching for files only.

Share this post


Link to post
Share on other sites
tamir

ok thanks for all

Share this post


Link to post
Share on other sites
JSThePatriot

I've seen that you can use wild cards like this:

Can you also use this wildcard?  for searching for files only.

<{POST_SNAPBACK}>

I have never tried and I havent been able to find anything in the helpfile about it.

Sorry :-/

JS


AutoIt Links

File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out.

ComputerGetInfo UDF's Updated! 11-23-2006

External Links

Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more)

Share this post


Link to post
Share on other sites
sugi

I've seen that you can use wild cards like this:

Can you also use this wildcard?  for searching for files only.

Be careful with *.???. This will only find files with a 3 letter extension and will not find source.c, source.h and maybe not even test.html (but I'm not sure about this one)

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  

×