Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


ID: 28023, Snippet for IOUtils, Recursive File System Access in Delphi 2010

by Ann Lynnworth Email: Anonymous


Example form with button, listbox, 2 edit boxes, and code needed to recurse directories and files, using a nested TFilterPredicate.
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Delphi, Version 14.0  to 15.0 167 downloads
Copyright: No significant restrictions


Size: 86,567 bytes
Updated on Tue, 14 Sep 2010 15:57:19 GMT
Originally uploaded on Tue, 14 Sep 2010 15:57:47 GMT
SHA1 Hash: AF1F60BC4917B89299047C38FA9A82616CBC7314
MD5 Hash: 45C3233CD1B848729E373B8A77627708

    Explore the files in this upload

Description
If you need some example code for iterating through folders (directories, paths) and the contained files, recursively, here it is. This uses the features of TDirectory (in Delphi 2010+) to enumerate paths and files, and demonstrates a nested TFilterPredicate.

All credit goes to Malcolm Groves, who presented this example at an ADUG meeting when Delphi 2010 was launched. Malcolm also posted the information on his blog.

This example is such a useful starting point for software utilities, it seemed a good idea to post it for you.

For more information, see http://www.malcolmgroves.com/blog/?p=447

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC03