Previous: FindNext procedure To the Table of Content Next: FileSplit procedure

- 4.69.2.10 -
Standard Units
WinDos Unti
WinDos Unit Procedures and Functions

FileSearch function

Targets: MS-DOS, OS/2, Win32


WinDos Unit

Searches for a file.

Declaration:
function FileSearch(Dest, Name, List: PChar): PChar;
Remarks:
List is a list of the directories to include in the search each delimited with a semicolon (;).

FileSearch returns the directory and file name if the file has been located. If Path is not found then an empty string is returned. FileSearch always begins with the current directory and then checks the directories listed in List in the order that they appear.

See also:
FindFirst
FileExpand
FileSplit


Previous: FindNext procedure To the Table of Content Next: FileSplit procedure
FindNext procedure Table of Content FileSplit procedure

- 4.69.2.10 -