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 want to find the absolute path in ASP not from wwwroot but from c: onwards

  2. #2
    JoseCruiser Guest

    Default RE: how to find the absolute path in ASP

    Server.MapPath("/") will give you the directory of your website on the file system. If you are trying to use an SSI, you are out of luck, because the file must be in the same directory or a child directory of the ASP script calling it. If you are concerned about security, then you can create a Windows Script Component that can export the values you are looking for - WSCs can be anywhere the server can find them.<BR><BR>_Jose

Posting Permissions

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