HLP! FileSystemObject

Results 1 to 3 of 3

Thread: HLP! FileSystemObject

  1. #1
    sendoh Guest

    Default HLP! FileSystemObject

    The following code gets the date of creation of the file.<BR>How do you get the modification date of a file? I tried<BR>to use datemodified but it just would not work. Pls help.<BR>Thanks a lot.<BR><BR>Set filesystem = CreateObject("Scripting.FileSystemObject")<BR>Set folder = filesystem.GetFolder(server.mappath(mypath))<BR><B R>Set filecollection = folder.Files<BR>For Each file in filecollection<BR> response.write file.name<BR> response.write file.datecreated & "<BR>"<BR>Next<BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default Close, but no cigar.

    Try DateLastModified.<BR><BR><BR>HTH<BR><BR>Jerry

  3. #3
    sendoh Guest

    Default RE: Close, but no cigar.


Posting Permissions

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