Not avoiding the problem, but curious about your use of SET. I can't think of a single script where I have ever used it. How/Why are you using those. Maybe we can suggest a better method.