Instantly share code, notes, and snippets.

Embed
What would you like to do?
REM @echo off
tasklist | findstr %1
if errorlevel 1 goto START
if errorlevel 0 taskkill /f /im %1
:START
start "" %2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment