Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unique issue with file name
Message
From
12/10/2002 14:16:29
 
 
To
12/10/2002 13:54:31
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00710628
Message ID:
00710662
Views:
19
>>> 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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform