Can someone assist me in piping multi-line text to a file through VB.

example:

Shell("netsh routing ip show rtmroutes > c:\rtmroutes.text)

This pipe does not execute properly through VB, but it works fine on the command line