Re: TZF - Changing Directory's DateStamp (Not Topaz)

"Kenneth Camargo Jr." <[email protected]> Sun, 20 Jul 2003 16:49:42 -0300
Newsgroups gmane.comp.lang.delphi.topaz
Message-ID <[email protected]>
======= At 2003-07-20, 22:32:00 you wrote: =======
> In short, what I want is a program that recurses a directory tree, scanning
> each < DIR>  for the youngest (mose recent) file in it, and giving the
> directory this exact date-time. Sounds simple, doesn't it... The only way to
> do that, that I did find, but am unable to use for the moment for lack of
> understanding, is by using "FileCreate", like so:
> 

Look at the following items in the win32 API help:

WIN32_FIND_DATA structure
FindFirstFile API call
FindNextFile API call

The information you want is in the ftLastWriteTime field of the WIN32_FIND_DATA STRUCTURE.

HTH,
Ken
-- 
Kenneth Rochel de Camargo, Jr. 
website: http://planeta.terra.com.br/educacao/kencamargo/

--^----------------------------------------------------------------
This email was sent to: [email protected]

EASY UNSUBSCRIBE click here: http://topica.com/u/?clvXPN.a5kvff.Z2NsZHQt
Or send an email to: [email protected]

TOPICA - Start your own email discussion group. FREE!
http://www.topica.com/partner/tag02/create/index2.html
--^----------------------------------------------------------------