/*
GETENV() is an environment function that retrieve information
from the DOS environment into an application program.
Typically, this is configuration information, including path names,
that gives the location of files (database, index, label, or reports).
*/
PROCEDURE Main()
? " Computer Name:", GETENV( "COMPUTERNAME" ) ? " Home Drive :", GETENV( "HOMEDRIVE" ) ? " Home Path :", GETENV( "HOMEPATH" ) ? " LogOn Server :", GETENV( "LOGONSERVER" ) ? " Number of Processors :", GETENV( "NUMBER_OF_PROCESSORS" ) ? " Processor Architecture :", GETENV( "PROCESSOR_ARCHITECTURE" ) ? " Processor Identifier :", GETENV( "PROCESSOR_IDENTIFIER" ) ? " Processor Level :", GETENV( "PROCESSOR_LEVEL" ) ? " Processor Revision :", GETENV( "PROCESSOR_REVISION" ) ? " OS :", GETENV( "OS" ) ? " Session Name :", GETENV( "SESSIONNAME" ) ? " User Domain :", GETENV( "USERDOMAIN" ) ? " User Name :", GETENV( "USERNAME" ) ? " User Profile :", GETENV( "USERPROFILE" ) ? " Command Specification:", GETENV( "COMSPEC") ? " TEMP Folder :", GETENV( "TEMP" ) ? " TMP Folder :", GETENV( "TMP" ) ? " WINDOWS Folder :", GETENV( "WINDIR" ) ? " Program Files Folder :", GETENV( "PROGRAMFILES" ) ? " Prog. files extentions :", GETENV( "PATHEXT" ) ? " Default Path :", GETENV( "PATH" ) ? RETURN // Main()