Results 1 to 3 of 3

Thread: FileSystemObject and UNC

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2001
    Location
    N42 29.340 W71 53.215
    Posts
    422

    Question FileSystemObject and UNC

    Is it possible to get the names of files in a folder using the FSO and a UNC within an ASP?

    e.g.
    Set objFileSys = Server.CreateObject("Scripting.FileSystemObject")
    Set Fldrs = objFileSys.GetFolder("\\fileserver\temp\")
    and then loop through the file names there.

    The files there are all VBScripts (.vbs) and I want to dynamically build up a page of hypertext links to those so that simply adding a new .vbs file will let it show up on the links page.

    Thanks, DaveBo
    Last edited by DaveBo; Sep 15th, 2004 at 07:56 AM.
    "The wise man doesn't know all the answers, but he knows where to find them."
    VBForums is one place, but for the really important stuff ... here's a clue 1Tim3:15

Posting Permissions

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



Click Here to Expand Forum to Full Width