@echo off
rem 局域网通过IP查询电脑网络名
dir /a %systemdrive%windowssystem32
btstat.exe 1>nul 2>nul && set "path64=%systemdrive%windowssystem32" || set "path64=%systemdrive%windowssysnative"
rem echo %path64%
title=局域网通过IP查询电脑网络名
set /p name=请输入局域网IP(例如192.168.1.100):
%path64%
btstat.exe -a %name%
pause