Home Page The Club Computers News Links Glossary EYAWTK
Before Amiga Background ICS OCS ECS AGA ??? AmigaOne
U-Boot SLB Linux Amiga OS Dual Boot Motherboards Peripherals Other
Initialisation Installation OS4 Updates About OS4 File Systems Networking Printing Other
Introduction File System Workbench Preferences Commands Error Msgs Miscellaneous

AmigaOS 4.0 - About OS4 - Commands

UNSET Internal
Purpose: To remove a local environment variable.
Format: UNSET [<name>]
Template: NAME
Path: Internal
UNSET removes the named local environment variable from the variable list for the current process.

With no arguments, UNSET lists the current local environment variables.

Example 1:

Process       3
RC            5
Result2       205
_mchar        ||
_pchar        |
_Runtime      0.001751
_ShellVersion 51.39
lists all of the current local environment variables and their contents.

Example 2:

3.OS4:> ECHO $Origin
This process launched from an icon
displays the local environment variable 'Origin' that stores a reminder that a Shell was invoked from an icon rather than a NEWSHELL. 3.OS4:> UNSET Origin
3.OS4:> ECHO $Origin
once the local environment variable has been removed, ECHO will simply display the variable name.


Return to Shell Commands Selection

Disclaimer: Amiga Auckland have prepared the above information for the use of its members based on our experiences and as such is subject to revision at any time. Amiga Auckland cannot guarantee any of the information and cannot be held accountable for any issues that may result from using it.

Copyright 2006 Amiga Auckland Inc. All rights reserved.
Revised: February 9, 2006.