The dirty way of doing it is to have the dos pogram create an empty file when it's done. Then you just loop the Blitz program if the file doesn't exist(openfile returning 0), and when it does exist the blitz program deletes it and moves on.
Andy
Andy