Results 1 to 11 of 11

Thread: File Date & Time - Where is it stored?

  1. #1

    Thread Starter
    Frenzied Member KayJay's Avatar
    Join Date
    Jul 2001
    Location
    Chennai
    Posts
    1,849

    Arrow File Date & Time - Where is it stored?

    I've searched Google, Microsoft and these boards. Nothing has turned up to answer the following question.

    Q) Where in a file is the files' Date and Time properties stored. They cannot be stored in the OS alone as any transfer of the file carries along with it correct details of date and time. e.g. The last modified date is the same when a file is transferred across the network. So where are these propertie stored?

    "Brothers, you asked for it."
    ...Francisco Domingo Carlos Andres Sebastian D'Anconia

  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974
    As far as I'm aware it's not stored in the OS or in the file itself - it is stored on the drive that holds the file (in the FAT - File Allocation Table).

  3. #3

    Thread Starter
    Frenzied Member KayJay's Avatar
    Join Date
    Jul 2001
    Location
    Chennai
    Posts
    1,849

    Red face Doh! HUGE SLAP ON THE FOREHEAD!

    Thanks!!. Did not strike me at all and surprised that that statement was never made in any of the links thrown up by "FILE DATE TIME WINDOWS STORED WHERE LOCATION"

    That said, how does one read the values directly from FAT? Yes Can Do in VB?

    Thank again.

    "Brothers, you asked for it."
    ...Francisco Domingo Carlos Andres Sebastian D'Anconia

  4. #4
    Hyperactive Member Emo's Avatar
    Join Date
    Jul 2000
    Posts
    428
    what if somebody has NTFS??

    -Emo
    -=VB6 Enterprise Edition=-
    -=VC++6Enterprise Edition=-
    «¤E³m°O²™¤»

  5. #5
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974
    That said, how does one read the values directly from FAT? Yes Can Do in VB?
    Er.. no. The best you could do is use the VB function "FileDateTime", which will give you the same answer.

    Originally posted by Emo
    what if somebody has NTFS??

    -Emo
    There is still a File Allocation Table (there has to be, otherwise the files could never be found!). It just has security info as well as just file details.

  6. #6

    Thread Starter
    Frenzied Member KayJay's Avatar
    Join Date
    Jul 2001
    Location
    Chennai
    Posts
    1,849
    Thanks for the info.

    "Brothers, you asked for it."
    ...Francisco Domingo Carlos Andres Sebastian D'Anconia

  7. #7
    So Unbanned DiGiTaIErRoR's Avatar
    Join Date
    Apr 1999
    Location
    /dev/null
    Posts
    4,111
    You're all wrong.

    The value is stored on your mobo, in your cmos(the thing that stores your bios info).

    You can peek the memory offsets, what they are, no idea.

  8. #8

    Thread Starter
    Frenzied Member KayJay's Avatar
    Join Date
    Jul 2001
    Location
    Chennai
    Posts
    1,849
    Is that true? Every date and time property of every File in my computer is stored in the MotherBoard/CMOS?

    "Brothers, you asked for it."
    ...Francisco Domingo Carlos Andres Sebastian D'Anconia

  9. #9
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974
    of course not, that would be ridiculous... if you want to prove it just move a hard drive from one machine to another - it still know where all the files are

  10. #10
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974
    (and of course dates etc)

  11. #11

    Thread Starter
    Frenzied Member KayJay's Avatar
    Join Date
    Jul 2001
    Location
    Chennai
    Posts
    1,849
    <----------- Forgot this in the previous post

    "Brothers, you asked for it."
    ...Francisco Domingo Carlos Andres Sebastian D'Anconia

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width