Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Returns the contents of the specified MS-DOS environment variable.
GETENV(cVariableName)
Return Values
Character
Parameters
cVariableName
Specifies the name of the MS-DOS environment variable. The empty string is returned if the MS-DOS environment variable you specify doesn't exist.You can locate the Windows directory with the WINDIR environmental variable, which Windows sets when it starts.
Remarks
Two environment variables are always available: COMSPEC and PATH. You can create your own environment variables with the MS-DOS SET command.
For additional information on creating environment variables, see your MS-DOS manual.
Example
CLEAR
? GETENV('PATH') && Displays the MS-DOS path