之前在别人的博客看到的,觉得好玩就拿过来用了
1 | for /f "skip=9 tokens=1,2 delims=:" %i in ('netsh wlan show profiles') do @echo %j | findstr -i -v echo | netsh wlan show profiles %j key=clear |
注意把中文字符改成英文字符!!!
之前在别人的博客看到的,觉得好玩就拿过来用了
1 | for /f "skip=9 tokens=1,2 delims=:" %i in ('netsh wlan show profiles') do @echo %j | findstr -i -v echo | netsh wlan show profiles %j key=clear |
注意把中文字符改成英文字符!!!
原文作者:Maphilius
原文链接:https://maphilius.github.io/2018/05/06/cmd/
更新日期:September 16th 2018, 2:41:25 pm
版权声明:本文采用知识共享署名-非商业性使用 4.0 国际许可协议进行许可