How can I Use Server.MapPath() when the filename has a comma in it?
Posted on 2001-08-30
I'm trying to use the Server.MapPath() method to check for the existance of a certain file. Unfortunately the file that I'm searching for may have a comma in the filename ex <c:\test, test.txt>. I have no control over the filename so I need to find a work around that will allow me to use extract the actual full path of the file.
Currently I get the following error:
Server.MapPath() error 'ASP 0173 : 80004005'
Invalid Path Character