Shawn thanks that looks excellent. I am ignoring my last post and downloading the latest kix. The tool will only be used by IT types and we can all use a latter kix so no worries.

Kix is looking more like perl to me all the time after seeing your script, very good, ideal actually.

Thanks

Still feeling stupid for my ealier post had being an arse to people who are trying to help!