NTDOC: Clearly a case of lack of information. I understood his initial question as how do I read line 3 of a file. What he apparently really wants is to retrieve a list of files from a directory.

Anyway, see the following posts:
File Input/Output Primer
DirList() - Returns an array with a list of files in a given directory
DirPlus() - a recursive dir tool
_________________________
There are two types of vessels, submarines and targets.