gpt4 book ai didi

windows - 如何使用 VB6 或 BAT/CMD 列出连接到我的 WiFi 网络的设备?

转载 作者:可可西里 更新时间:2023-11-01 14:48:46 30 4
gpt4 key购买 nike

我正在制作一个程序来列出连接到我的 Wi-Fi 网络的所有设备,以便我可以查看是否有其他人连接。

我找到了 CMD 的代码 - net view 但它只列出了连接到我的 Wi-Fi 的计算机,而不是移动设备。是否有任何其他命令可以使用 CMD 列出连接到我的 Wi-Fi 的移动设备。

最佳答案

您需要一个名为: Wireless Network Watcher 的外部工具

enter image description here

描述:

Wireless Network Watcher is a small utility that scans your wireless network and displays the list of all computers and devices that are currently connected to your network. For every computer or device that is connected to your network, the following information is displayed: IP address, MAC address, the company that manufactured the network card, and optionally the computer name. You can also export the connected devices list into html/xml/csv/text file, or copy the list to the clipboard and then paste into Excel or other spreadsheet application.

并且您可以创建一个批处理文件来使用 HTML 保存结果,如下所示:

@echo off
WNetWatcher.exe /shtml "WNetWatcher.html"
Start "" "WNetWatcher.html"

命令行选项:

/cfg Start Wireless Network Watcher with the specified configuration file. For example: WNetWatcher.exe /cfg
"c:\config\wnw.cfg" WNetWatcher.exe /cfg "%AppData%\WNetWatcher.cfg"

/stext Scan your network, and save the network devices
list into a regular text file.

/stab Scan your network,
and save the network devices list into a tab-delimited text file.

/scomma Scan your network, and save the network devices
list into a comma-delimited text file (csv).

/stabular Scan your network, and save the network devices list into a tabular text file.

/shtml Scan your network, and save the network devices
list into HTML file (Horizontal).

/sverhtml Scan your network, and save the network devices list into HTML file (Vertical).

/sxml Scan your network, and save the network devices
list into XML file.

关于windows - 如何使用 VB6 或 BAT/CMD 列出连接到我的 WiFi 网络的设备?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36698037/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com