GSAK (Geocaching Swiss Army Knife)
Contents - Index

GetEnvV (function)

GetEnvV( sVarName ) : string

The GetEnvV function will allow you to retrieve the value of any system environment variable. 
 

$user = GetEnvV("USERNAME")
$temp = GetEnvV("TEMP")

 
$user now contains the name of the current windows user
$temp now contains the value of your windows temporary folder path

Alpha List         Category List

Copyright 2004-2019 CWE Computer Services  
Privacy Policy Contact