Previous: 4.74.2.9. FindNext procedure To the Table of Contents Next: 4.74.2.11. FileSplit procedure
4.74.2.9. FindNext procedure Table of Contents 4.74.2.11. FileSplit procedure

- 4.74.2.10. -
Table of Contents
4. Standard Units
4.74. WinDos - MS-DOS function emulation for OS/2 and Win32
4.74.2. WinDos Unit Procedures and Functions
4.74.2.10. FileSearch function


4.74.2.10. 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: 4.74.2.9. FindNext procedure To the Table of Contents Next: 4.74.2.11. FileSplit procedure
4.74.2.9. FindNext procedure Table of Contents 4.74.2.11. FileSplit procedure

- 4.74.2.10. -