How to Find all files (or files of a certain type) in a
given directory?
Answer / Rahul Chandra
You can use the TSearchRec structure from the System.SysUtils unit and the FindFirst, FindNext, and FindClose functions from the System.IOUtils unit in Delphi to search for files in a given directory.
| Is This Answer Correct ? | 0 Yes | 0 No |
How to Loada local html file in the HTML control ?
How to Change the main form of an application at runtime ?
How to get the date of the last day in the current month?
How to Use mouse_event() to similate mouse events?
How to Return application's exit code?
Do I have to know a lot about the Windows API to use Delphi?
How to do Sorting on Calculated fields ?
How to Converta RGB color to a CMYK color?
How to turn off ISAPI DLL caching on Windows 2000 and IIS5 ?
Does the BDE use Client side or server side cursors for MSSQL?
How to set a custom CVS PServer port?
How to convert numbers into roman numerals?