How could I redirect to a file the output produced by a dos command thru winexec ? For instance : wd ' winexec netstat > file.dat' does not work as I would expect. Thanks for any help JCC