我正在尝试使用 cmd 命令将我的计算机 (PC1) 连接到现有的ad hoc。这个ad hoc 是由第二台计算机 (PC2) 创建的,我花了几个小时来寻找结果,但我确实找到了答案。请参阅这张照片以了解我。
Netsh wlan export profile folder=”c:\profiles” name="Profile 1" interface="Wireless Network Connection"
Netsh wlan add profile filename=C:\Users\WirelessUser\Documents\profile1.xml interface="Wireless Network Connection"
Run Code Online (Sandbox Code Playgroud)
但我不能保持我的需要。
我需要一些步骤来创建临时配置文件(此临时配置是由其他机器创建的),还是应该通过使用 cmd 使用其他方法?