Doh! That's it! It makes perfect sense now. I was using the apostrophe. For some reason I always forget that there is that little key up there. Thanks for the help, I'll try it tonight, and I agree the $(cmd) format is much clearer so I think I'll use that way. Again, thanks for seeing my mistake.