Send to a Friend

XOIIO's avatar

Check if a process is running from a batch file?

Asked by XOIIO (18328points) January 1st, 2011

I need a command simmilar to “IF EXIST” to check if a process, such as wmplayer.exe is running. Something like this.

if exist wmplayer.exe (echo proccess running) else (echo proccess not running

Can you think of anything?

Using Fluther

or

Using Email

Separate multiple emails with commas.
We’ll only use these emails for this message.