Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Renaming Files
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00664105
Message ID:
00664108
Views:
22
>Hi,
>
>How do I rename a file that has no extension?
>When I use the RENAME command, it assumes the defult extension .DBF and sayd that it cannot find the file.

Add '.' to the file name to indicate that file doesn't have an extension.
lcFileName = "myfile."
lcNewName = "newfile.txt"
RENAME (lcFileName ) TO (lcNewName )
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform