Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

File handling with C++ Builder 3.0

Status
Not open for further replies.

bailsoft

Technical User
Mar 28, 2000
14
GB
I wish to use the following routines to scan a file structure and change the date and time values of all the files encountered.<br><br><i>int __fastcall FindFirst(const System::AnsiString Path, int Attr, TSearchRec &F);<br>int __fastcall FindNext(TSearchRec &F);</i><br><br>My question is, is there an alternative method for changing the file date and time instead of using the function below?<br><br><i>#include &lt;io.h&gt;<br>int setftime(int handle, struct ftime *ftimep);</i><br><br>Any help will be much appreciated. In anticipation, thank you.<br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top