http://www.aros.orgAROS-ExecAROS-Exec ArchivesPower2People

Home

English

Česky

Deutsch

Ελληυικά

Français

Italiano

Nederlands

Polski

Português

Русский

Español

Suomi

Svenska


News

Archive

Introduction

Status
Screenshots
Ports
License

Download


Documentation

Users
Installation
Using
Shell
Applications
FAQ
Developers
Contribute
Roadmap
Bug Tracker
Working with Subversion
Compiling
Application Development Manual
Zune Application Development Manual
System Development Manual
Debugging Manual
Reference
Specifications
UI Style Guide
Documenting
Porting
Translating
Summaries
Links

Contact

Mailing lists
IRC channels

Credits

Acknowledgements


Pictures

Developers
Developers en Masse

Sponsors

Linking

Links

Get AROS Research Operating System at SourceForge.net. Fast, secure and Free Open Source software downloads

Setenv

Index Prev Next


Name

Setenv

Synopsis

NAME,SAVE/S,STRING/F

Function

Sets a global variable from the current shell. These variables can
be accessed from any program executing at any time.

These variables are usually not saved in the ENVARC: directory, hence they
can only be used by programs during the current execution of the
operating system. When using SAVE argument, the variable is also saved
in ENVARC:

If no parameters are specified, the current list of global variables
are displayed.

Inputs

NAME    - The name of the global variable to set.

SAVE    - Save the variable also in ENVARC:

STRING  - The value of the global variable NAME.

Result

Standard DOS error codes.

Example

Setenv EDITOR Ed

    Any program that accesses the variable "EDITOR" will be able to
    find out the name of the text-editor the user would like to use,
    by examining the contents of the variable.

Copyright © 1995-2009, The AROS Development Team. All rights reserved.
Amiga® is a trademark of Amiga Inc. All other trademarks belong to their respective owners.