Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Renaming a file without an extension
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01124980
Message ID:
01124981
Views:
13
This message has been marked as the solution to the initial question of the thread.
>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
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform