Connecting Tech Pros Worldwide Forums | Help | Site Map

size & time modification from files..?? (Builder)

janek
Guest
 
Posts: n/a
#1: Jul 19 '05
My question
How can I do something like this... in Builder:
In ListBox I've got a list of the files (load by the FindDir) and what
should I do to pull out from these files the size and the time of the last
modification.. ?? (for example to StringGrid or ListBox)
(This operation I will be do twice.. before and after the modification of
the files.. and after than I want to compare this information!)

Thanks a lot for any suggestion..
johnnyb



Christopher Benson-Manica
Guest
 
Posts: n/a
#2: Jul 19 '05

re: size & time modification from files..?? (Builder)


janek <siojak@poczta.gazeta.pl> spoke thus:
[color=blue]
> In ListBox I've got a list of the files (load by the FindDir) and what[/color]
[color=blue]
> Thanks a lot for any suggestion..[/color]

Try a different newsgroup? Only standard C++ is discussed here.

--
Christopher Benson-Manica | I *should* know what I'm talking about - if I
ataru(at)cyberspace.org | don't, I need to know. Flames welcome.
Moonlit
Guest
 
Posts: n/a
#3: Jul 19 '05

re: size & time modification from files..?? (Builder)


Hi,

You could do a stat() on the path/filename. It will return a buffer with
information about the file.

Regards, Ron AF Greve.

"janek" <siojak@poczta.gazeta.pl> wrote in message
news:bmpc7m$785$1@inews.gazeta.pl...[color=blue]
> My question
> How can I do something like this... in Builder:
> In ListBox I've got a list of the files (load by the FindDir) and what
> should I do to pull out from these files the size and the time of the[/color]
last[color=blue]
> modification.. ?? (for example to StringGrid or ListBox)
> (This operation I will be do twice.. before and after the modification of
> the files.. and after than I want to compare this information!)
>
> Thanks a lot for any suggestion..
> johnnyb
>
>
>[/color]


Closed Thread