@Morco

Thanks so much for posting your code, it has taken me a few days to find time to try it, and a few more to try to the correct address for bluetooth.exe within my device, so far without success. I know I am straying off topic here but do you know of any file explorer programme which will allow access to the system layers of a WinCE device? I have been experimenting with and old version of Total Commander for CE, which opens with a view of the folders but won't go any further. Any pointers would be appreciated.

Thanks again