Ver Mensaje Individual
  #3 (permalink)  
Antiguo 11/05/2005, 10:13
Avatar de AlZuwaga
AlZuwaga
Colaborador
 
Fecha de Ingreso: febrero-2001
Ubicación: 34.517 S, 58.500 O
Mensajes: 14.550
Antigüedad: 24 años, 3 meses
Puntos: 535
Un poco más pro ;)


Código:
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
foto="D:\ssss\miweb.com\Html\fotos\"
foto=foto&ref&".jpg"
If objFSO.FileExists(foto) Then
objFSO.DeleteFile foto
Else
Response.Write("El archivo " & foto & " no existe.")
End if
__________________
...___...