is there an opposite of server.mappath?

  • Thread starter Thread starter darrel
  • Start date Start date
D

darrel

Given a URL to a file, you can user server.mappath to get the actual system
file path.

Is there a function that does the opposite?

Ie, if I have this:

c:\inetpub\wwwroot\documents\myfile.txt

is there a function that will return:

/documents/myfile.txt?

I could parse the above do that myself, but was wondering if there is
already a built in function for that.

-Darrel
 
(lru)htappam.reves

--
Good Monday Morning,

Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.
 
YOU try typing "reverse" in reverse in a Monday morning! ;-)

--

Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.
 

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

Back
Top