Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to rename files and preserve case?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00516705
Message ID:
00516731
Vues:
11
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform