GETENV GETENV returns a character value representing a specified environment variable. GETENV( x) x Expression naming an environment variable.