Page 1 of 1

i want to find location of a process. how?

Posted: 15 Mar 2012 13:06
by Mohammad_Dos
how to find out location of a file witch is running and I can see it in processes?

Re: i want to find location of a process. how?

Posted: 15 Mar 2012 17:54
by aGerman
You could use WMIC.

Code: Select all

for /f "skip=1 tokens=*" %%i in ('wmic process where name^="firefox.exe" get ExecutablePath') do echo %%~dpi

Regards
aGerman