Thanks Radimus, I had seen that UDF in my searches but didn't incorporate it. It works now. I actually was using WSHPipe with DSQuery and it worked really good, but I'm trying to design a GUI for my tool and WSHPipe kicks open a console window, so now I'm going through the script and removing all of them.

Thanks again all, and Radimus, love the sig.