... ruta = Server.MapPath(dato) set fs=Server.CreateObject("Scripting.FileSystemObject ") if fs.FileExists("ruta")=true then %> ...