D
D
Denis Davydenko2020-03-24 10:16:52
cmd/bat
Denis Davydenko, 2020-03-24 10:16:52

How to display network interface names via cmd?

Good afternoon.
For a bat script, it is required to display names and select a network interface for further work with it.
Can't find how to output only names in style:


Network connection 1
Network connection 2


IPCONFIG gives a lot of extra information for this.
Tell. how to do or what to google?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Korben5E, 2020-03-24
@GooseTheDestroyer

ipconfig | find "Adapter"
PS: you can also do this netsh interface ipv4 dump, the whole question is why

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question