Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Rename a file...
Message
De
24/05/2002 16:48:30
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00661033
Message ID:
00661257
Vues:
29
Jean-René,

Take care to check previous existence of a file with the same name as the "new" name of the file to be renamed, because if it already exists you'll get a "file already exists error", perhaps you'd want to delete it first:
If File ("NewName.ext")
   Delete file NewName.ext
endif

Rename OldName.ext To NewName.ext
Fernando
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform