I have a critical application running on a Windows XP machine that is sometimes crashing on me. The application name is coyote.exe and it locks up at random times and I would like to execute a blat email command for the system to email me when this happens. I need a script or batch that can detect when the application hangs or fails and then triggers blat to email. Windows XP is recording the hang in the application event log so maybe that is where we detect it? I am not sure.