Jump to content

dir scanning


tamir
 Share

Recommended Posts

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?

Link to comment
Share on other sites

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)

Link to comment
Share on other sites

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)

Link to comment
Share on other sites

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)
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...