Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unique issue with file name
Message
De
12/10/2002 14:16:29
 
 
À
12/10/2002 13:54:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00710628
Message ID:
00710662
Vues:
21
>>> Using FCREATE()
>
>that's what I'm using. I create a file name as in
>myupload = upper(filename) && ARPWAA1.TXT
>
>I can rename the file as "ARPWaa1.txt" and it is unchanged when I save (from explorer). But if I rename as "ARPWAA1.TXT" and then save the OS changes it to "arpwaa1.txt". So far research has revealed that you can change a setting in Reg that controls upper and lower case when saving. But what I need is a way to insure that at least the first four letters stay upper case. Of course I need to do this from the app and not change a reg setting.

Sorry, John, but I'm failling to follow you. As far as I can experiment, FCREATE() honors the filename case (such as in FCREATE("UPPERCASE.TXT"), FCREATE("lowercase.txt") or FCREATE("MixedCase.Txt")). So why the need to change it afterwards? I even tried to upload each of these files to a UNIX server (via FTP) and they came out nicely as expected...
----------------------------------
António Tavares Lopes
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform