thanks seaman so if i put this at the head of all existing batch files then it sounds like it would work will try and will keep you informed thanks.

Daz