Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease add your comments to this article.
Please note that you must provide both a name and a valid email address in order
for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!
Back to article list Search Articles Add Comment Printer friendly Direct link Par2: Getting Envirnoment variables 2003-09-06 -- John Christ III > Anybody out there can tell me how to get the DOS Set Environment values
Inside the Global Map:
MODULE('Win32.lib')
GetEnvironmentVariable(*CSTRING, *CSTRING, ULONG), |
ULONG, RAW, PASCAL, PROC, NAME('GetEnvironmentVariableA')
END
Data:
EnvVarName CSTRING(256)
EnvVarValue CSTRING(1000)
Code:
EnvVarName = 'PATH'
GetEnvironmentVariable(EnvVarName, EnvVarValue, SIZE(EnvVarValue))
Today is November 21, 2024, 6:57 am This article has been viewed 35247 times.
|
|