Accessing the System Environment
Accessing the System Environment
Rate Accessing the System Environment
(2(2 Vote))
'environment 'variables using the ENVIRON$ function in Visual Basic.
strSystemDir = Environ$("windir")
' •-- Other environment variables can be accessed in the same fashion.
' •-- For example, the line below would retrieve the current system Path
' string:
strPath = Environ$("path")
Accessing the System Environment Comments
No comments yet — be the first to post one!
Post a Comment