Jump to content

search


Recommended Posts

Hi

Im trying to search certain folders and their subfolders for a file type

*.pst

*.ost

*.dbx

$search = FileFindFirstFile("c:\*.pst")

this command only looks in the current folder, what i want to do is say something like this

$search = FileFindFirstFile("*.PST,*.DBX,*.OST") in "c:\documents and settings" plus all subfolders

I guess the results would go into an array because there could be several folders found

Or did I just make a complete idiot of myself (blush)

Crystal

Link to comment
Share on other sites

Link to comment
Share on other sites

MsgBox(262148,"Message","This message box has yes/no buttons and is always on top")


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Link to comment
Share on other sites

cool!

why wasn't that in the manual!?

It is in the help file

The flag parameter can be a combination of the following values:

and

** Only valid on Windows 2000/XP and above.

For example, to specify a SYSTEMMODAL box with the YES/NO buttons the flag value would be 4096+4 (or 4100) If using hexadecimal flags, that would be 0x1000+0x4 (or 0x1004).

Perhaps it could be a little clearer.


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

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...