Home > Commands A-M > Commands H

HOSTNAME


Description | Syntax | Parameters | Switches | Related | Notes | Examples | Errorlevels | Availability

Prints the name of the current computer (host). This command is available only if the TCP/IP protocol has been installed.


Syntax

HOSTNAME /?

HOSTNAME


Parameters

none.


Switches
/? (NTXP)
Displays help.

Related

none.


Notes

none.


Examples

none.


Errorlevels

none.


Availability
External
DOS
none
Windows
none
Windows NT
NT3.5 NT4 NT2000 NTXP NT2003