Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP7 Rename Command Results in lower case filename
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00793171
Message ID:
00793207
Views:
22
Yuri,

I would like to create a copy of the file.
Should I take the 'movefile' literally?
TIA.

>It is how it works. Try this instead:
>
>DECLARE INTEGER MoveFile IN Win32API;
> STRING @lcoldname , STRING @lcnewname
>
>lcoldname = 'A.DBF'
>lcnewname = 'B.DBF'
>?MoveFile(@lcoldname, @lcnewname)#0
>
>clear dlls
>
>>I am renaming a file as in the code below, but the resulting filename that is stored on disk is lower case.
>>The O/S is XP PRO.
>>
>>local lcMacro
>>lcMacro = Upper("rename 'A.DBF' to 'B.DBF'")
>>wait window lcMacro && just to verify that files names are uppercase
>>&lcMacro
>>
>>TIA.
Regards,

Allan Coganovitch
allanc@proven-solutions.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform