Glam Prestige Journal

Bright entertainment trends with youth appeal.

What exactly is image name? For example,

tasklist /FI "IMAGENAME eq myapp.exe" 2>NUL | find /I /N "myapp.exe">NUL
if "%ERRORLEVEL%"=="0" echo Programm is running

I googled can't seem to find its definition anywhere. Why is it called image name?

1 Answer

Image name is the name of the executable, e.g. explorer.exe or myapp.exe, so you're already using it correctly. /FI is similar to find, so find is only useful if you need the errorlevel.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy