2000 XP Home XP Pro Vista
ホスト名を表示する


hostname

機能

使用中マシンのホスト名を表示する。

形式

hostname

コマンド例

hostname 使用中マシンのホスト名を表示する

実行例

Microsoft Windows [Version 6.0.6000]
Copyright (c) 2006 Microsoft Corporation.  All rights reserved.

C:\>hostname
MyComputer1

C:\>

関連コマンド

getmac      

戻る