Currently, I list all network adapters, and then the user needs to type the name of an adapter to proceed with the rest of the code.
:: Listing all network adaptersecho/List all network adapters & netsh interface show interface:: Getting the name of the network adapters and validating the user inputecho/ & set /p "_adapterName=Enter the interface name you want to fix: " || =;( echo You must enter a network adapter name! & exit /b );=
Instead, how would I use that list to so that a user could select an item from it by number?