Estuve buscando a ver si habían hablado de este tema y encontre esto:
<a href='ir.asp?http://www.forosdelweb.com/mensaje.asp?id=57123' target='_blank'>http://www.forosdelweb.com/mensaje.asp?i...</a>
Lo estuve modificando a mi antojo, pero da el siguiente error:
Código:
Error Type:
Microsoft VBScript compilation (0x800A03EE)
Expected ')'
/vehiculos/InfoDetallada.asp, line 261, column 45
file = response.Write(rstVTDC("Cod") & ".jpg"
--------------------------------------------^
Mi código es el siguiente:
Código:
dim filesys, filetxt, getname, path, file
Set filesys = Server.CreateObject("Scripting.FileSystemObject")
Set filetxt = filesys.CreateTextFile("c:\somefile.txt", True)
file = response.Write(rstVTDC("Cod") & ".jpg"
path = filesys.GetAbsolutePathName("\file")
getname = filesys.GetFileName(path)
filetxt.Close
If filesys.FileExists(path) Then
Response.Write ("Archivo Encontrado")
End If
QUe debo arreglarle?
.::RsOfT::.
--El que se aferra a lo conocido, nunca conocerá lo desconocido--
--Es intentando lo imposible como se realiza lo posible--
--Es de pesimo gusto contentarse con algo mediocre cuando lo excelente esta a nuestro alcance--