Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2003
    Posts
    8

    Unanswered: importing most recently created file

    I am trying to create an event that imports a .dbf file with the most recent creation date from a designated directory. The file is created from an in-house programmed system and named by no particular convention.

    Any ideas?

  2. #2
    Join Date
    May 2002
    Location
    London
    Posts
    87
    If you use the FileSystemObject from the Scripting Runtime Library you can expose all the properties of the file.

    Start here and you shoudl be away.
    Last edited by Risky; 10-20-03 at 13:29.

  3. #3
    Join Date
    Oct 2003
    Posts
    8
    So i'm to use the .DateCreated property, i understand that much but how do i access this property of a file i don't know the name to?
    (I'm looking for the file in a certain directory with the most recent creation date but I'm not sure how to refer to it to get the date when i don't necessarily know the file name)

Posting Permissions

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