Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Renaming a file without an extension
Message
De
25/05/2006 15:16:53
John Baird
Coatesville, Pennsylvanie, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01124980
Message ID:
01125007
Vues:
29
Not to take away from Sergei's expertise, but your issue has nothing to do with vfp; it's a standard DOS renaming convention.



>>>I am using VFP 7 SP1 and trying to rename a file with VFP's RENAME command. Unfortunately, it appears that if the source file you specify doesn't have an extension, a ".dbf" extension is assumed. The file I am trying to rename does not have an extension. Any ideas?
>>
>>Try to add '.'
>>
RENAME myfile. TO mynewfile.txt
>>
>
>Perfect. Thank you again Sergey. You are God's gift to VFP.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform