Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ADIR() returns ALLCAPS filename, but we need mixed case
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00368834
Message ID:
00368984
Vues:
15
>The filename returned from using the function ADIR() is in all caps. I want to save the filename returned to a VFP6 record exactly as it is capitalized in Windows Explorer. Is there a way to do this without using PROPER() since some of the words in the filename are not captialized.
>
>TIA

Rixon,

While I'd recommend (as others have) the Scripting.FileSystemObject, alternatively you could use my "Windows Filenames" which is available for download here at the UT (Win32 and Other APIs). It returns much of the same information, but does not require the WSH. While I would go with the WSH, if it were not available or could be made available, this is an alternative.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform