Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Renaming Files
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00664105
Message ID:
00664108
Vues:
25
>Hi,
>
>How do I rename a file that has no extension?
>When I use the RENAME command, it assumes the defult extension .DBF and sayd that it cannot find the file.

Add '.' to the file name to indicate that file doesn't have an extension.
lcFileName = "myfile."
lcNewName = "newfile.txt"
RENAME (lcFileName ) TO (lcNewName )
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform