Shell Commands/Unsetenv

From MorphOS Library

Revision as of 13:36, 3 March 2015 by JPV (talk | contribs) (Created page with "'''UnSetEnv''' - Removes a global variable NAME, SAVE/S <nowiki> NAME - Name of the variable to remove SAVE - Permanently remove th...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

< Shell Commands

UnSetEnv - Removes a global variable

NAME, SAVE/S

NAME - Name of the variable to remove                                          
SAVE - Permanently remove the variable (see Below)

UnSetEnv removes the named global variable from the current variable list. Please note that if the variable has been Set using the SAVE switch, it will be available again after a Reboot. To remove it totally, use the SAVE switch.

NOTE: With no arguments, UNSETENV lists the current variables.

See also: SetEnv, Set and UnSet.