file paths

Results 1 to 2 of 2

Thread: file paths

  1. #1
    pootietang Guest

    Default file paths

    when you call an image in html located in a sub-directory of where the html file itself is located, all you need to do is<BR>&#060;img src="/folder/filename.htm"&#062;<BR><BR>i need my ASP page to find a file in the same fashion, but i cant think of a way to do it. When im looking for the file if its in the same directory as the ASP page, all i need is this<BR>set f = FSO.GetFile(Server.MapPath(filename))<BR><BR>but if i want to get the file of the same name in a sub-directory, im clueless as to how to do it. <BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: file paths

    set f = FSO.GetFile(Server.MapPath("subdirname/"&filename))<BR><BR><BR>Craig.

Posting Permissions

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