Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Program Files folder - How to get the name?
Message
From
13/09/2002 10:29:24
 
 
To
13/09/2002 10:24:37
Arlei Silva
Chevron Oronite Brasil Ltda.
Capuava, Brazil
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00700175
Message ID:
00700176
Views:
11
Hi!

It seems it is always following, but I'm not sure:
&& GetWindowsDirectory to variable lcWinDir

lcProgFilesDir = JustDrive(m.lcWinDir) + "\Program Files"
>Hi all,
>
>How I can check the name of the "Program Files" folder?
>My app will run in multi language environments and I need to know the name of this folder to perform some tasks.
>
>I know that if I need the "Windows" folder, I can use the GetWindowsDirectory API function and I can use the GetSystemDirectory API function to get the "System" folder, but what about the "Program Files" folder?
>
>Thank you in advance,
>
>Arlei
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform