Thanks Richard.

I don't know what I did differently, but it is working now.

One other question. Say you have 2 scripts and both are encrypted. I assume that you cannot call the second one from the first. At least I couldn't get it to work. I had to execute the first script from the initiating batch file, wait for it to complete and then execute the second script from the same batch file. Is this correct behavior or is there a way to call one script from the other?