@echo off echo 本机IP ipconfig|find "IPv4" echo. echo 电脑名 hostname pause>nul exit
快速查看本地IP地址
原文:https://www.cnblogs.com/LuckyZLi/p/10686636.html