Sometimes you want to find out where a running process resides on your drives. At least these methods are possible in Windows 10.
-
Taskmanager, process tab, right-click on the columns’ headers, select command line. A column with the full commandline which started the process is shown. If you’ve done this once, Taskmanager remebers that you want to have this column and shows it automatically next time.
-
In the cmd shell:
wmic process where "name='xyz.exe'" get ProcessID, ExecutablePath
-
In a cygwin, mingw64 or git-bash:
ps -Wefa | grep -i xyz.exe