Shell Commands/Getenv

From MorphOS Library

< Shell Commands

GetEnv - Displays the contents of a global environment variable


NAME - name of the global variable to display

GetEnv is used to retrieve and display the value of a global environment variable. The value is displayed in the current window. Global variables are stored in ENV: and are recognized by all Shells.

See also: SetEnv command.