Are you referring to the window of a program that runs in DOS, or are you referring to the cmd window? If the latter, is this supposed to just show what's being printed in the cmd window? One simple way to do this is to do command line redirection to direct the output of the cmd window to a text file and then read the text file from LabVIEW. A more complicated approach is to use the technique I demonstrated
here.