Unit AmedeoMaskSearch

Classes

Functions

AttrStr - returns a string with file attributes (DRSH
cmpfile - compare with the whole grep_list until one fits
cmpmask - now compare the string with the partial search masks
GetShellFileInfo - String routines

STRING ROUTINES // Get Shell Info for the specified file
GetTimeModified - File Date & Time
setfilters - File Search utility

Original File Search Routine by Marcus Stephany //
SizeStr - Convert Size for Sort

Types

Constants

Variables


Functions


function AttrStr(Attr:integer):string;

returns a string with file attributes (DRSH

function cmpfile(a:string;grep_list:tstringlist; MatchCase :boolean):boolean;

compare with the whole grep_list until one fits

function cmpmask(a:string;grep_list:tstringlist;findfile : boolean; MatchCase :boolean):boolean;

now compare the string with the partial search masks

procedure GetShellFileInfo (FileName :TFileName; var ShFileInfo :TShFileInfo);

String routines

STRING ROUTINES // Get Shell Info for the specified file


function GetTimeModified(a:tfiletime):string;

File Date & Time

procedure setfilters (a:string;grep_list:tstringlist;findfile : boolean; MatchCase :boolean);

File Search utility

Original File Search Routine by Marcus Stephany //


function SizeStr (Size,Typ :integer ) :string;

Convert Size for Sort

Types


Constants


Variables