Step back to your original question for a moment.. You might want to understand that you can't use piping and redirection in a Shell command without specifying "%COMSPEC% /c", since it is the command shell that is responsible for managing the IO redirection. Without it, nothing based on redirection will work.

Of course, built-in commands are best!

Glenn
_________________________
Actually I am a Rocket Scientist! \:D