Finding the location of a running process under Windows XP

I came across find in a location of a running process under Windows XP. It was not just as easy as Windows 7. Because in Windows 7, we can use TaskManager -> Processes -> Select a process & right click -> Open File Location to find the exact place of the running process.

But in Windows XP, you can achieve it by using command prompt and type one of the following command

Information about all Processes
WMIC /OUTPUT:C:\ProcessList.txt PROCESS get Caption, Commandline, Processid

Information about one process
WMIC /OUTPUT:”C:\ProcessList.txt” process where “caption=’EMTC-Demo.exe'” get Caption,Commandline,Processid

hint: EMTC-Demo.exe is the process name