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

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • janek

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

    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

    #2
    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)cybers pace.org | don't, I need to know. Flames welcome.

    Comment

    • Moonlit

      #3
      Re: size &amp; 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]


      Comment

      Working...