ordrer file name

Results 1 to 2 of 2

Thread: ordrer file name

  1. #1
    Join Date
    Dec 1969

    Default ordrer file name

    &#060;%<BR> Dim objFileScripting, objFolder<BR> Dim filename, filecollection<BR> <BR> &#039;get file scripting object<BR> Set objFileScripting = CreateObject("Scripting.FileSystemObject")<BR> &#039;Return folder object<BR> Set objFolder = objFileScripting.GetFolder(Server.MapPath("./"))<BR> &#039;return file collection In folder<BR> Set filecollection = objFolder.Files<BR> &#039;create the links<BR> For Each filename In filecollection<BR> Response.Write filename.name & vbcrlf & vbcrlf & "<BR>"<BR> Next<BR> %&#062;<BR><BR>can anyone tell me how to order the filename<BR>thankQ

  2. #2
    Join Date
    Dec 1969

    Default aspfaqs


Posting Permissions

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