Testing whether it exists in the current path sounds like a great idea. I could do this in several cases. The problem occurs when it does exist and what is passed to it (via print) happens to be incorrect (i.e. if you were expecting parameters and they were in the wrong format).
Could you give me a little direction of the checking if the first word exists somewhere in the current path. I can think of a difficult way of doing it, is there any simple or built-in method for checking if a word is in the PATH?
I really appreciate your help. Thanks!