M
Mel
When my folder name contains an ampersand Server.MapPath returns the
following error. How do I get it to work?
Error: "Failed to map the path '/MyWeb/DOCS/HIGH SCHOOL ADD. & RENOV./
UPLOAD DOCS/'."
Here is my code:
Dim strProjFolder as String = "~/DOCS/HIGH SCHOOL ADD. & RENOV."
Dim dirInfo As New DirectoryInfo(Server.MapPath(strProjFolder & "/
UPLOAD DOCS/"))
following error. How do I get it to work?
Error: "Failed to map the path '/MyWeb/DOCS/HIGH SCHOOL ADD. & RENOV./
UPLOAD DOCS/'."
Here is my code:
Dim strProjFolder as String = "~/DOCS/HIGH SCHOOL ADD. & RENOV."
Dim dirInfo As New DirectoryInfo(Server.MapPath(strProjFolder & "/
UPLOAD DOCS/"))