Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to rename file to Long filename in VFP
Message
From
10/11/1998 00:26:25
 
 
To
10/11/1998 00:13:31
Juan Kh
Dataprop Technologies
Sungai Petani, Malaysia
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00156045
Message ID:
00156046
Views:
44
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
Previous
Reply
Map
View

Click here to load this message in the networking platform