@echo off tasklist /FI "IMAGENAME eq outlook.exe" | find /i "outlook.exe" IF ERRORLEVEL 2 GOTO LOOP2 IF ERRORLEVEL 1 GOTO LOOP1 :LOOP1 start notepad.exe goto EXIT :LOOP1 start outlook.exe goto EXIT :EXIT
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter