Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

File list

Status
Not open for further replies.

nnmmss

Programmer
Sep 7, 2004
123
IR
How can i find the list of files avalable in a PATH which begings with e.g (NM001_). i mean i want NM001_*.* in Path forexample c:\temp.

thanks
 
I would do a search on this site for FileSystemObject or FSO. That should provide several helpful links to get you started.

Hope this helps

HarleyQuinn
---------------------------------
Get the most out of Tek-Tips, read FAQ222-2244 before posting.
 
i did like this and i got the answer

myfile = Dir(RealPath)


Do While myfile <> "" ' Start the loop.
txtFile.Text = myfile
myfile = Dir ' Get next entry.
Loop
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top