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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

pick up file from directory 1

Status
Not open for further replies.

YanaD

Programmer
Mar 22, 2001
38
US
I need to have a search of a file in 1 directory of 500 files. In my recordset i select a file name(041001.pdf) and i have to search for this file in the appropriate directory where 500 files located with different file names.
 
Try using the "DIR" command and put the name of the file you are looking for in it. The number of files should not matter. After you put you filename in the DIR command check and see if the legnth is > 0 it so then the file exist.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top