【发布时间】:2013-11-18 19:23:45
【问题描述】:
我知道在 Google 中有很多结果:results,但我没有在我的 Windows XP 机器上找到它。我想从命令行禁用 LAN 连接。
>netsh interface set interface "Local Area Connection" DISABLED
One or more essential parameters not specified
The syntax supplied for this command is not valid. Check help for the correct sy
ntax.
>netsh interface set interface name="Local Area Connection" admin="disabled"
One or more essential parameters not specified
The syntax supplied for this command is not valid. Check help for the correct sy
ntax.
>netsh interface set interface name="Local Area Connection" admin=DISABLED
One or more essential parameters not specified
The syntax supplied for this command is not valid. Check help for the correct sy
ntax.
【问题讨论】:
-
首先让我问你为什么要这样做?第二,如果您尝试禁用 LAN,为什么不在控制面板中设置它
-
因为两个 LAN 不能一起工作。因此,如果他们有的话,我需要一个可行的。我不想手动禁用它我需要使用 bat 文件自动禁用它。
-
好的,我知道你要去哪里,让我看看一些东西,然后告诉你。
-
我也有同样的问题。你找到解决办法了吗?
-
@Arya,查看我的回答below,希望对您有所帮助。
标签: networking cmd windows-xp