Ver Mensaje Individual
  #1 (permalink)  
Antiguo 13/02/2002, 12:42
LOG
 
Fecha de Ingreso: febrero-2002
Mensajes: 66
Antigüedad: 23 años, 3 meses
Puntos: 0
urjose este es el codigo lo puedes checar

html>
<head>
<title>
abriendo archivo</title>
<body>
<%
Function SaltarLíneaEnArchivo
Const ParaLectura = 1, ParaEscritura = 2
Dim fso, f
Set fso = CreateObject("Scripting.FileSystemObject&quot ;)
Set f = fso.OpenTextFile("c:\log\ex020117.log", ParaEscritura, True)
f.Write "#Software: Microsoft Internet Information Services 5.0" & vbCrLf & "#version: 1.0"
Set f = fso.OpenTextFile("c:\log\ex020117.log", ParaLectura)
f.SkipLine
SaltarLíneaEnArchivo = f.ReadLine
End Function
%>
</body>
</html>

////////

y me manda este error


Error de compilación de Microsoft VBScript error '800a0408'

Carácter no válido

/quita.asp, line 7

Function SaltarLíneaEnArchivo

Estoy tratando de hacerlo pero no me sale.gracias