netsh interface ip dump > d:\net.txt

netsh -f d:\net.txt    或      netsh exec  d:\net.txt