Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Retrieving the windows path
Message
From
17/10/2001 07:43:04
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00569185
Message ID:
00569457
Views:
15
>>Hi, I need to retrieve the windows path.
>>For example... C:\windows, or c:\winnt or wherever it is installed...
>>
>>any ideas?
>>
>>thanks
>>fabian
>
>? getenv('windir')

George, I have an additional question.

I want the folder which is usually under c:\windows\system (on a Win95 system).

Do you know whether this is always = getenv("windir") + "\system", or can the "\system" part vary, depending on the OS?

TIA, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform