Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to rename files and preserve case?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00516705
Message ID:
00516731
Views:
9
>Hi
>
>I am using the "rename" command in an application to name files according to a customer specification. The only problem is that the names are created using lower case. The customer wants to preserve the case they way they enter it in the application.
>
>Does anyone have a simple solution to this problem? I assume it might be possible using the Windows API but I do not know how.
>

I believe the first part of your question could be answered using FileScriptingObject. Go to vfug NewsLetters and do a search by George Tasker (or Ed Rauh). One of the article should help you, but better read all of them.

>A related issue is that if the user goes and tries to rename a Pagemaker file from Windows Explorer it appears to accept mixed cases but when they move to another file the name goes back to lower case. Any ideas about why this is happening?
>
>Thanks
>Simon White
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform