Next Topic

Previous Topic

Book Contents

FindFile

string FindFile(string sWildcard)

Return values

Returns a string with the listed files separated with a carriage return; otherwise 0, and a specific error code can be retrieved by calling global function GetLastError.

Parameters

  • sWildCard - Wild card to filter out wanted files. To retrieve all files in the directory use the *.* wild card.

Remarks

The return string contains all files in current directory matching the supplied wild card. Each file is returned with its full path. Files in string is separated with a carriage return sign.