ProcessExist

ProcessExist [/F] [/EV-] <var> <process>
ProcessExist [/F] [/EV-] <process>

Determines the presence of a running process.

The command is available for directly call and a call from the condition. When called directly, variable receive the value 0 or 1, in dependence of result.

Parameters

varName of the variable that will receive the value.
processProcess name. May contain variables and environment variables.

Switches

/EV-Disables the use of environment variables in the text.
/FThe search is performed using the full name of the process. The search is case-insensitive.

Related

ProcessCount