Get localhost physical directory?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Elsa Luiz

    #1

    Get localhost physical directory?

    Hi everyone,
    I would like to get the path of the virtual directory where my page is
    running from. For example if I access a page with
    http://localhost/mySite/default.aspx I would like to call a function
    in the code of my default.aspx that returns me
    C:\Inetpub\wwwr oot\mySite

    Probably there is a trivial solution but I am not figuring it...

    Thank you in advance,

    Elsa
Working...