Quote: A couple of others that would be helpful would be
%HOMEPATH% and
%USERPROFILE%
What do you want to do with these values? i could write them to a file but that is what happens with the function
* that I submitted.
The utility I am working on is not using SBasic so I am not using the Sesame program. I can still pick them up, but don't know what to do with them.
But you might be better off after the login, to just use the GetEnvironmentValue function
*Try it out and see how it works for you. You could put the function in the Open Application programming and make global values from the result.
gblHomePath = fnGetEnvVariable("HOMEPATH"), and
gblUserProfile = fnGetEnvVariable("USERPROFILE")
*I added the function to forum section for Programming Examples, under the subject:
Get Environment Variable Value as a general purpose function, as noted earlier.