Ver Mensaje Individual
  #8 (permalink)  
Antiguo 10/03/2003, 10:27
mikil
 
Fecha de Ingreso: agosto-2002
Ubicación: Lleida
Mensajes: 506
Antigüedad: 21 años, 8 meses
Puntos: 0
efectivamente, estaba en medio y lo puesto en medio-bajo pero sigue dando el mismo error.

este es el código:

<html>
<head>
<title>Javascript split function</title>
<SCRIPT LANGUAGE="JavaScript">
var archivo="c:\\earcaj\\paramcaj.fic"

function fileexists(){
var fso = new ActiveXObject("Scripting.FileSystemObject");
fileBool = fso.FileExists(archivo);
if (fileBool){document.location.href="http://www.lleida.com"}
else{document.location.href="http://www.paeria.es"}
}

</SCRIPT>

</head>
<body onload="fileexists()">
</body>
</html>