Welcome to the Harris Geospatial product documentation center. Here you will find reference guides, help documents, and product libraries.


  >  Docs Center  >  IDL Reference  >  Operating System Access  >  SETENV

SETENV

SETENV

The SETENV procedure adds or changes an environment string in the process environment.

Examples


Change the current shell variable by entering:

SETENV,'SHELL=/bin/sh'

Make sure to eliminate any whitespace around the equal sign:

; This is an incorrect usage--there are spaces around the equal 
; sign:
SETENV, 'VAR = H:\harris'
 
; This is correct--VAR is set to H:\harris:
SETENV, 'VAR=H:\harris'

Syntax


SETENV, Environment_Expression

Arguments


Environment_Expression

A scalar string or string array containing one or more environment expressions to be added to the environment.

Keywords


None.

Version History


Original

Introduced

See Also


GETENV



© 2018 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us