Ver Mensaje Individual
  #3 (permalink)  
Antiguo 10/03/2005, 07:50
Avatar de Skalitiko
Skalitiko
 
Fecha de Ingreso: febrero-2005
Mensajes: 81
Antigüedad: 20 años, 2 meses
Puntos: 0
Private Sub Command1_Click()
Dim Fso As New Scripting.FileSystemObject
Dim f As File
Set f = Fso.GetFile("c:\Loquesea.txt")
f.Name = "Changos.txt"
End Sub

Para que funcione tienes que ir al menu Project->References y agregar la referencia Microsoft Scripting Runtime