Get path?

Results 1 to 2 of 2

Thread: Get path?

  1. #1
    Sofia Guest

    Default Get path?

    Is there a way to find out the absolute path to the ASP-file you&#039re running? So the script returns the "folderadress" of it&#039s own file?<BR><BR><BR>

  2. #2
    Coolish Guest

    Default RE: Get path?

    You can try this...<BR><BR>&#060;% Response.buffer = TRUE<BR>Response.Write ("Exact: " & Server.MapPath(Request.ServerVariables("PATH_INFO" )) & "<BR>") <BR>Response.Write Request.ServerVariables("PATH_INFO") %&#062;

Posting Permissions

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