virtual path from a physical one

D

dmalhotr2001

Hi,

I was wondering is there a way to get the virtual path (i.e.
http://localhost/blah/blah) if you specify a physical one (i.e.
C:\wwwroot\inetput\exampleDir).

I know you can do the opposite with Server.MapPath. However I'm
looking for going from physical to virtual path.

Thanks

:D
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top