Results 1 to 3 of 3

Thread: FilesystemObject

  1. #1
    Kerri Guest

    Default FilesystemObject

    Is there a way to get to a directory nested deep in the file structure without having to iterate through countless folders to see the files in that folder? For instance, I want to see the files in a subdirectory call "SR-1" within the wwwwroot directory.<BR><BR>Thanks!!

  2. #2
    Join Date
    Dec 1969

    Default RE: FilesystemObject

    You could create a virtual root in IIS called /sr1 then point this to the full path of the directory.<BR><BR>Then in your code you just need to:<BR>&#060;%<BR>DirPath = Server.MapPath("/sr1")<BR>Folderobj = fso.GetFolder(DirPath)<BR>%&#062;

  3. #3
    Kerri Guest

    Default RE: FilesystemObject

    Thanks, I&#039;ll give it a try.

Posting Permissions

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