sm_gui -Dcom.smarts.clientTool.setEnv=true
This can also be set in the properties.conf file located in the <BASEDIR>\conf\console directory as follows:
com.smarts.clientTool.setEnv=true
The above flag will set the environment variable so that when you call the variable, it will pull out the correct information.