I'm looking for the way of how to get the file path wih the given PID.
By typing "netstat -ano", I found the port 1025 is listening, whose PID was 1716.
Nextly, I typed "tasklist /FI "PID eq 1716" and it showd the image name alg.exe.
When I searched online about alg.exe, I found some information saying that if it is not located in WINDOWS\system32, it could be a spyware/trojan. So I'd like to make sure if this alg.exe is the one in that directry or not.
However, in the method above I cannot obtain the full path of the program. So is there a way to get it?