Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to rename file to Long filename in VFP
Message
De
10/11/1998 00:26:25
 
 
À
10/11/1998 00:13:31
Juan Kh
Dataprop Technologies
Sungai Petani, Malaisie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00156045
Message ID:
00156046
Vues:
41
Hiya Juan ----

Why are you using the shortened DOS version to rename from; ie, 123456~1.abc? And, is it possible that the file already had the name 1234567890123.abc?

>
>I tried to rename a file to another file name (long file name) with the following command:
>
>RENAME cOldName To cNewLongName
>
>(where cOldName = 123456~1.abc, cNewLongName = 1234567890123.abc)
>
>However, VFP returned an error saying file name already exist. Apparently, cNewLongName is being changed to DOS 8.3 format (which resulted in cOldName) before the RENAME is carried out. Does anybody know the workaround?
>
>Thanks,
>juan
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform