Unit 'msefileutils' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#msegui]

searchfilenames

Returns the file names (not the full paths, unlike searchfiles) matching afilename found in adirname

Declaration

Source position: msefileutils.pas line 275

function searchfilenames(

  const afilename: filenamety;

  const adirname: filenamety;

  const ainclude: fileattributesty = [fa_all];

  const aexclude: fileattributesty = [];

  const aoptions: dirstreamoptionsty = []

):filenamearty;

Description

Returns the file names (not the full paths, unlike searchfiles) matching afilename found in adirname. afilename must be a simple filename, or a quoted list of simple filenames, and can contain the wildcards ? and *; an empty afilename matches everything.


Documentation generated on: 2026-10-03