how to find the absolute path in ASP

Results 1 to 2 of 2

Thread: how to find the absolute path in ASP

  1. #1
    Mufaddal Khilawala Guest

    Default how to find the absolute path in ASP

    i need to find the absolute path of my current ASP Page, not from wwwroot onwards, but from c:/inetpub/wwwroot... onwards.<BR>

  2. #2
    Join Date
    Dec 1969
    Posts
    2,849

    Default RE: how to find the absolute path in ASP

    Use Server.MapPath<BR><BR>Let&#039s say you wanted default.asp to print out it&#039s full path:<BR><BR>Response.Write Server.MapPath("default.asp")

Posting Permissions

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