Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Renaming a file without an extension
Message
From
25/05/2006 15:16:53
John Baird
Coatesville, Pennsylvania, United States
 
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:
01125007
Views:
26
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform