Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ADIR() returns ALLCAPS filename, but we need mixed case
Message
 
À
11/05/2000 17:51:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00368834
Message ID:
00368849
Vues:
19
Hi Rixon,

The FileSystemObject in WSH can do that:
fso = createobject("scripting.FileSystemObject")
oFolder = fso.getfolder("c:")
for each oFile in oFolder.Files
	? oFile.name
next
>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
kenweber
GCom2 Solutions
Microsoft Certified Professional

Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform