netsh c interface dump >c:\ip.txt

netsh -c interface dump >c:\ip.txt

原文地址:https://www.cnblogs.com/94YY/p/3013087.html