thank you very much. that works quite well. i only have one problem. when the DOS console is done working, it closes instantly, before you have a chance to look at the results. How can i make the DOS window not close?