One thing overlooked in the examples is the need for %comspec% for support of redirect.

No %comspec% no redirect!
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.