C
Chris Guimbellot
Hello,
ASP, VBScript, IIS5.
I have used the Server.MapPath object in the past in my web sites. What I am
trying to do is before I map a path, to see if the folder is there. If so,
map it. If not, do something else.
Is there a way to do this? I tried the following:
If Server.MapPath("testfolder") = True Then
Set objFile = Server.MapPath("testfolder")
End If
but of course that doesn't work because MapPath doesn't support a Boolean
value. Any ideas on what I need to do to accomplish this? Thanks,
Chris
ASP, VBScript, IIS5.
I have used the Server.MapPath object in the past in my web sites. What I am
trying to do is before I map a path, to see if the folder is there. If so,
map it. If not, do something else.
Is there a way to do this? I tried the following:
If Server.MapPath("testfolder") = True Then
Set objFile = Server.MapPath("testfolder")
End If
but of course that doesn't work because MapPath doesn't support a Boolean
value. Any ideas on what I need to do to accomplish this? Thanks,
Chris