[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'FileUtil' (#lazutils)

TSearchFileInPathFlag

Flags used to control options used when searching for file(s) in a given path.

Declaration

Source position: fileutil.pas line 75

type TSearchFileInPathFlag = (

  sffDontSearchInBasePath,

  

Do not search in BasePath, search only in SearchPath.

  sffSearchLoUpCase,

  

Performs a case-insensitive search for file or directory names.

  sffFile,

  

Must be a file, and not a directory.

  sffExecutable,

  

File must be an executable file for the platform.

  sffDequoteSearchPath

  

Removes ANSI Quotation Marks in a search path or file name.

);

Description

TSearchFileInPathFlag is an enumerated type with values that enable search options when locating files in a given path. Values in TSearchFileInPathFlag are stored in the TSearchFileInPathFlags set type and passed as an argument to the SearchFileInPath and SearchAllFilesInPath routines.

See also

TSearchFileInPathFlags

  

Set type used to store values from the TSearchFileInPathFlag enumeration.

SearchFileInPath

  

Searches for a file name in a given path using the specified base path and options.

SearchAllFilesInPath

  

SearchAllFilesInPath - searches for all files named Filename in the given SearchPath using the supplied BasePath with the specified Delimiter and the options listed in Flags.


Version 4.0 Generated 2025-05-03 Home