Hi,
Could someone tell me the correct quotation to get around spaces in
paths for:
Server.MapPath("\\server\share\spaces in name.mdb")
I know its bad practice to use spaces but unfortunately i cannot help
this.
Thanks,
Luke.
Jay Meta - 17 Oct 2006 15:45 GMT
In C#, use
Server.MapPath(@"\server\share\spaces in name.mdb");
to indicate the string as a string literal for which escape chars are
ignored.
<eat.lemons@gmail.com> wrote in message
news:H-qdnZ2ZXNDzfqnYnZ2dnUVZ8qSdnZ2d@eclipse.net.uk...
> Hi,
>
[quoted text clipped - 9 lines]
>
> Luke.
Luke - eat.lemons@gmail.com - 17 Oct 2006 16:17 GMT
> Hi,
>
[quoted text clipped - 9 lines]
>
> Luke.
I need to do this in ASP unfortunately that dosent work.