Results 1 to 2 of 2

Thread: Opening Most Recent Download - GETFiles Help

  1. #1

    Opening Most Recent Download - GETFiles Help

    The below expression opens the second most recent file downloaded in my downloads folder from Chrome. Looking for help so the expression opens the most recent downloaded file. This expression is part of a desk top automation so the file would have been downloaded seconds before

    Directory.GetFiles("FilePath").OrderByDescending(Function(f) New FileInfo(f).LastWriteTimeUtc).First()

  2. #2
    Moderator VBAX Wizard SamT's Avatar
    Oct 2006
    Near Columbia
    What Microsoft Application is this part of?

    Nobody reads threads in the Test Area. Make another thread in the appropriate Forum, and be sure to post in this thread that you have made a new post in which forum you choose.

    SamT, Moderator
    Please take the time to read the Forum FAQ

Tags for this Thread

Posting Permissions

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