Jump to content

Find File(s) in a directory and it's sub-directories.


nu852
 Share

Recommended Posts

Suppose I have following files.

c:\temp\aaa.txt

c:\temp\fldb\bbb.txt

c:\temp\fldc\ccc.txt

c:\temp\fldc\ccc.err

Is there any single function to find files (*.txt) in TEMP directory and TEMP's sub-directory?

I expect that following files could be found. (In looping, or in an array)

aaa.txt (c:\temp\aaa.txt)

bbb.txt (c:\temp\fldb\bbb.txt)

ccc.txt (c:\temp\fldc\ccc.txt)

Thanks in Advance.

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