i wanted to share with you guys a unit. its Called FFU. its a simple unit that makes some Folders and file procedures Simpler. I plan on adding more feature but its Pretty simple right now.
A list of Procedure Of Functions Are:
Function GetFileAttr(const FilePath:String):LongInt;
Procedure RemoveFile(const FilePath:String);
Function ReadFile(var FileVar:TextFile):String;
Procedure CheckDir(const PathName:String);
Procedure CheckFile(const FilePath:String);
Procedure CreateFile(var FileVar:TextFile; const InFile:String);
Procedure EditFile(var FileVar:TextFile; const InFile: String);
A text file is included in the package to teach you guys how to work the unit... C/C would be nice and if you have any other codes you would like me to(or try to) simplify(Theres a word for it!) Ill get on it.
No, its not open sourced but you may use it in your other programs.
as long as it points credits to Adam N.Andujar..... Hope you like it!
[UPDATE!]
Its been updated to 1.35. now you can return file Attributes and i added a RemoveFile. ill work on updating the Help,About file with more examples later..
And the FFU.pas file has been added so thnx guys...
And Bart.... Oh.... didnt think there. ive been trying to add something else to it for awhile but i see it having use somewhere down the lane.
Version 1.35:
http://www.megaupload.com/?d=MHBUQYHX