This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

Documentation / Mathematica / Built-in Functions / System Interface / System Parameters /

$MachineName

FilledSmallSquare $MachineName is a string which gives the assigned name of the computer on which Mathematica is being run, if such a name is defined.

FilledSmallSquare For many classes of computers, $MachineName is the network host name.

FilledSmallSquare $MachineName is "" if no name is defined.

FilledSmallSquare See Section 2.14.5.

FilledSmallSquare See also: $MachineDomain, $System, $MachineID.

FilledSmallSquare New in Version 2.