我想写一套代码,想通过查询结果进行编号,在通过选择对应编号直接把MTU改成1372
@echo off
echo "================================ 1372 ================================"
:: List all network interfaces[打印所有的网络接口,在前面添加数字]
netsh interface ipv4 show subinterfaces
:: Let user select one interface[让用户选择一个接口]
echo "Select the number for your network interface, you can check it by look in your Nework setting"
:: 如何获取键盘输入
:: netsh interface ipv4 set subinterface "WLAN" mtu=1372 store=persistent
pause
请大神们帮帮忙!!!
@echo off
echo "================================ 1372 ================================"
:: List all network interfaces[打印所有的网络接口,在前面添加数字]
netsh interface ipv4 show subinterfaces
:: Let user select one interface[让用户选择一个接口]
echo "Select the number for your network interface, you can check it by look in your Nework setting"
:: 如何获取键盘输入
:: netsh interface ipv4 set subinterface "WLAN" mtu=1372 store=persistent
pause
请大神们帮帮忙!!!