computer tasklist code example
Example: tasklist command for specific process
c:\>tasklist /fi "imagename eq firefox.exe"
Image Name PID Session Name Session# Mem Usage
========================= ======== ================ =========== ============
firefox.exe 1740 Console 1 812,160 K
c:\>