TaskList lists all current processes
TsKill pid kills a process
netstat -nao | findstr 5037 Find connections or listens on port 5037.
The path of running cmd.exe in windows is C:\WINDOWS\system32. The command running under the console console will first be found in this path, and then in the environment variable.