It will usually be sys.exit(). In emergencies you might consider os._exit(). regards Steve -- -- Tools, training and technology to help you meet your information needs "Zamurai" <zamurai at gmx.net> wrote in message news:981813018.1461559148 at news.t-online.de... ?