find most recent file in a directory (latest written)

Discussion in 'Scripting' started by andrea, Nov 11, 2005.

  1. andrea

    andrea Guest

    hello all!
    i have a directory with some log file inside.
    Ntbackup cicles around the name (backup01.log,backup02.log, etc)
    so i can't find last created/writed file? (in vbs line command)

    Any method to do this?

    Thank you all,
    learn lot from you.

    Andrea
     
    andrea, Nov 11, 2005
    #1
    1. Advertisements

  2. FileSystem Object
    File Object
    DateCreated Property
     
    David J. Cartwright, Nov 11, 2005
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.