I am trying to shell a dos program (nbtstat) with a redirect to write to a file. I cant get it to write to the file. Any ideas on what i should do?

i need to access the results that the dos program puts on the screen. I need to do this in windopws with vb of course.

any ideas how i can get access to it?