Consultor Eletrônico



Kbase P22719: How can I tell the name of the machine I am running on?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   4/4/2003
Status: Unverified

GOAL:

How can I tell the name of the machine I am running on?

FACT(s) (Environment):

Windows

FIX:

Use the OS-GETENV function to retrieve the 'COMPUTERNAME' environment variable.  For example:

MESSAGE OS-GETENV('COMPUTERNAME') VIEW-AS ALERT-BOX.