GETENV() Function Returns MS-DOS Environment Variables

ID: Q89084

1.02 2.00 2.50 2.50a | 2.50 2.50a 3.00 | 2.60

MS-DOS               | WINDOWS         | UNIX
kbusage kbprg

The information in this article applies to:

The GETENV() function provides the value of an MS-DOS environment variable in a FoxBASE+ or FoxPro application. The MS-DOS SET command places values in environment variables.

The correct syntax for this function is as follows:

   GETENV(<ExpC>)

Here <ExpC> is a character expression containing the name of the environment variable. For example, GETENV("PATH") returns the value of the PATH environment variable.

Additional reference words: VFoxWin 3.00 FoxWin FoxDos FoxUnix 2.00 2.50 2.50a 2.x 2.60 1.02 KBCategory: kbprg KBSubcategory: FxprgGeneral

Keywords          : FxprgGeneral 
Version           : 1.02 2.00 2.50 2.50a | 2.50 2.50
Platform          : MS-DOS UNIX WINDOWS

Last Reviewed: April 30, 1996