Shine Tutorial    
  shinetutorialtopsideimage
HOME DOS OS C,C++ HTML CSS XML JAVA ASP PHP SQL OFFICE MULTIMEDIA MORE... CERTIFICATION ABOUT
 
S T ADVT
TUTORIALS
 

MS - DOS Command

« Previous Next Chapter »

Microsoft DOS hostname command

Quick links

About hostname
Availability
Syntax
Examples

About hostname

Display the hostname of the machine the command is being run on. Additional information about the term hostname can be found on our hostname dictionary definition.

Availability

The hostname command is an external command and is available in the below Microsoft operating systems.

Windows 2000
Windows XP
Windows Vista
Windows 7

Syntax

hostname

sethostname: Use the Network Control Panel Applet to set hostname.
hostname -s is not supported.

Examples

hostname

Running the command would display the hostname for the computer.


« Previous Next Chapter »