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:13:31
Juan Kh
Dataprop Technologies
Sungai Petani, Malaysia
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
How to rename file to Long filename in VFP
Miscellaneous
Thread ID:
00156045
Message ID:
00156045
Views:
132
Hello,

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
Next
Reply
Map
View

Click here to load this message in the networking platform