6
2
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%
What happens off you use the command
C:\Windows\system32\netstat.exe
? – I say Reinstate Monica – 2017-08-02T19:11:13.600Have you checked to see whether
netstat.exe
is present? On my system, it's inC:\Windows\System32
. IsC:\Windows\System32
in your PATH? – Jeff Zeitlin – 2017-08-02T19:11:32.493@Twisty when I did C:\Windows\system32\netstat.exe it give me the result.
JeffZeitlin yes I do have C:\Windows\System32 in my Path – Ameen – 2017-08-02T19:14:34.517
2Edit your question to include the output of
echo %PATH%
and ofecho %PATHEXT%
– Steven – 2017-08-02T19:18:08.0204Do
where netstat*
and/orfor %A in (netstat.exe) Do @Echo %~$PATH:A
return (only) the correct path? – LotPings – 2017-08-02T19:39:26.533