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?
Printable View
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?
GetEnvironmentVariable is the API to look for.
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 :-)
good point. I seem to be API-addicted :-)