<% dim strName strName = Request.QueryString("name") set fso = server.createObject("Scripting.FileSystemObject") if fso.fileExists(server.mappath("images\" & strName)) AND strName <> "" then %> <% else %> Sorry that file does not exist. <% end if %>

Close Window