batch file was going to be my suggestion, too. There's no way to kill a file while it's running. Windows simply wont allow it.