I'm trying to detect if a file exists to determine what content to display on my page though I want to use a variable for the filename. I've tried something like:<BR>Dim objFSO<BR>Set objFSO = Server.CreateObject("Scripting.FileSystemObject")< BR><BR>If objFSO.FileExists("d:
ootdirectorywebsiteworkingsiteassetspictures(' ;" & harnpic & "').jpg") then...<BR>but it doesn't like that path because it will always perform my "else" statement. I know the path is correct because if I just place a static filename in the statement, it'll work. I have also tested the value of the variable and that's correct too. Any help is appreciated. If I can get this figured out it will save me tons of time.<BR><BR>THANKS!