This example shows how to access enviroment variables and their value within CVI. In variables that are accessed in this example are the currently logged in user as well as their home directory.
Here is a snippet of code detailing how to do this:
drive = getenv("HOMEDRIVE");
home = getenv("HOMEPATH");
user = getenv("USERNAME");