Watch, Follow, &
Connect with Us

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


ID: 14813, A Better FindFirst-FindNext File Utility

by Bradley MacDonald Email: Anonymous


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 2.0  to 5.0 1209 downloads
Copyright: No significant restrictions


Size: 2,658 bytes
Updated on Thu, 22 Jun 2000 22:13:48 GMT
Originally uploaded on Thu, 22 Jun 2000 22:13:48 GMT
SHA1 Hash: D3E1ACCF0B5B065C8D6E31B153C64DC217D2BA98
MD5 Hash: CD6B312999943B4A759137FD2D216228

    Explore the files in this upload

Description
The attached code is one unit that basically can be used to replace Borland's FindFirst-FindNext-TSearchRec code. The standard code works - but is missing a few things

I have added a few enhancements (based on my research and posts from others in the news groups)

a) Addition of the attributes of Temporary, Compressed and Off-Line in addition to all the regular attribs like Read-Only, System, etc

b) Addition of the ability to exclude files from the search by attribute.

c) Provide access to the underlying Win32FindData as well as surfacing all the Date/Time Values (Create/Modify/Access)

d) Check in the FindClose to make sure that the handle is valid before trying to close. This removes the possible crash when running under NT.

The attached code is Freeware in all respects. Send me an email if you like it - or improve it

   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