The reason I need to test for the hmonitor value (which is "C:\Program Files\Hmonitor\hmonitor.exe") is that if I try to delete this value without it existing nnCron gives an error. The run key always exists, hmonitor is a value name. So I understand why this does not work. But, how do I check for the existence of the hmonitor value name?ThanksFrank

What I am trying to do here is to catch an error if created by the key not existing. This way I could use this command and delete the key if it exists without errors being displayed.Unfortunately, this gives me a error - Action: Stack error.I don't know what the ?DUP means and I can't find it in the help file. I found examples of its use but no explanation as to what it is or does. I used the examples to write the above.Could someone please let me know where i am wrong.Frank

Thank you Velery.Thank works very well.A special thatnk you to Nicholas also.I am sorry about the my lack of knowledge about the programming side. I did a lot of programming in various Basic languages, some C, some HTML and mostly nowdays I use TCL/TK. I used reverse polish notation calulators before and had no trouble. However, for some reason,I do find problems undertanding Forth (even just following it). Just the way I think, I guess. I'll keep trying.Frank