Code:
var Filelist: TStrings;//List of files
var Path : string;//file directory
var searchResult : TSearchRec;//search result
Everything is working for me except getting the file path to file list. I can run it, but this line always causes error.
Code:
Filelist.Add(Path +'\'+searchResult.name);