I want to figure out my running ports in Windows 10, but when I write command
C:\> netstat in the console, I get the following error
'netstat' is not recognized as an internal or external command,
operable program or batch file.or output of echo %PATH% as and of echo %PATH EXT%
62 Answers
It sounds like NetStat is no longer registered. You can check by going to My Computer - Properties - Advanced - Environment Variables - Path. If it is not there you can add it, just make sure you use the entire path when you do.
Did you mess around with the PATH variables?
Right click This PC → Properties → Advanced System Settings → Advanced tab → Environment Variables
In System variables, edit Path
Make sure that these paths are defined in the Path variable:
C:\WINDOWS\system32
C:\WINDOWS