Medman:

You have to wrap things in %comspec% to get re-direction to work - example:

shell "%comspec% /c net view > view.txt"

Shawn.