Results 1 to 3 of 3

Thread: FileSystemObject

  1. #1
    Michael J. Elwood Guest

    Default FileSystemObject

    I was wondering when using the filesystemobject and the Files method and putting that in a for each objfile in objFolder.Files loop it sorts by Name.. Is there a way to sort by LastDateModified?

  2. #2
    Join Date
    Dec 1969

    Default RE: FileSystemObject

    I don&#039t believe there is, and i&#039ve tried to figure it out.<BR><BR>My trouble was originally, I&#039ve been developing on PWS for 98 (my NT box is back at home in the UK, I&#039m in Australia) - when i launched a particular site, NT Server sorted the files in reverse, so my page was shot!<BR><BR>the only way i could get around it was to rename my files, which i did. I&#039ve looked for elusive settings which may change this, but i can&#039t find any.<BR><BR>jason

  3. #3
    Join Date
    Dec 1969

    Default RE: FileSystemObject

    I suppose you could place each of the file objects into an array (using a standard for each loop) and then write an algorithm to sort that array.<BR><BR>Dunc

Posting Permissions

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