|
-
September 11th, 1999, 06:11 AM
#1
How can I retrieve the value of WINDOWS PATH variable?
I don't know how to retrieve the value of WINDOWS PATH, that u can find
in the AUTOEXEC.BAT file for example, or in the Section "Environment" of the control panel (system icon) of Win NT?
Perhaps an API exist?
-
September 13th, 1999, 01:56 AM
#2
Re: How can I retrieve the value of WINDOWS PATH variable?
GetEnvironmentVariable is the API to look for.
-
September 13th, 1999, 03:20 AM
#3
Re: How can I retrieve the value of WINDOWS PATH variable?
You can also the Environ$() function of VB, I believe that Envrion$("WINDIR") returns the winows dir as stated in the environment settings.
Crazy D @ Work :-)
-
September 13th, 1999, 03:24 AM
#4
Re: How can I retrieve the value of WINDOWS PATH variable?
good point. I seem to be API-addicted :-)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|