批處理指令碼 - IPCONFIG



該批處理命令顯示 Windows IP 配置。按連線和該連線的名稱顯示配置。

語法

ipconfig

示例

@echo off 
ipconfig

輸出

以上命令將顯示當前機器上的 Windows IP 配置。以下是輸出示例。

Windows IP Configuration

Wireless LAN adapter Local Area Connection* 11:
   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix . :
	
Ethernet adapter Ethernet:
   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix . :
	
Wireless LAN adapter Wi-Fi:
   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix . :
 
Tunnel adapter Teredo Tunneling Pseudo-Interface:
   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix . :
batch_script_commands.htm
廣告