|
SYSTEM SWITCHESName:
The list of available environment variable switches is
where <SYSTEM SWITCH> is one of the names listed above.
PROBE USER PROBE HOST PROBE DEFAULT PRINTER PROBE SHELL PROBE PROGRAM FILES X86 PROBE PROGRAM FILES PROBE WINDOW BITS
LET STRING USERNAME = ^PROBESTR
USER NAME is a synonym for USER HOST NAME is a synonym for HOST COMPUTER NAME is a synonym for HOST
PROBE USER
LET STRING USERNAME = ^PROBESTR
PROBE HOST
LET STRING COMPNAME = ^PROBESTR
PROBE HOME
LET STRING USERHOME = ^PROBESTR
.
PRINT "Computer Name: ^COMPNAME"
PRINT "User Name: ^USERNAME"
PRINT "Home Directory: ^USERHOME"
The following output was generated
Computer Name: h048122.nist.gov
User Name: heckert
Home Directory: /home/heckert/
|
Privacy
Policy/Security Notice
NIST is an agency of the U.S.
Commerce Department.
Date created: 01/08/2020 | ||||||||||||||||||||||||||||||||||||||||