Roy Tang

Programmer, engineer, scientist, critic, gamer, dreamer, and kid-at-heart.

Blog Notes Photos Links Archives About

Have your app create a temp file on startup and periodically check if it still exists. Your batch script can just delete that file to terminate the app.