
10/03/2003, 10:27
|
| | Fecha de Ingreso: agosto-2002 Ubicación: Lleida
Mensajes: 506
Antigüedad: 22 años, 6 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> |