I am running an old dos program using system exec in Win2k. When the program runs I want the dos box to show (it does) with the output of the program (doesn't happen--dos box is blank). I know how how to retrieve the output afterwards but then you have to call your own window or have a display area for it and then the user has to close it (neither are desired). The idea really is that this dos program is processing a file and if the display isn't there the user has to wait indefinitely till it's done, instead of being able to see how much has been completed.
Trying to run this program (to see if the result is the same) from using start/run doesn't work because the working directory has to be set cor
rectly. Running a shortcut to set the working directory executes properly--a dos window is displayed correctly with the output. I could possibly try and run a shortcut using code that I found early on the message board but then I have to figure out a way to make a shortcut on the fly. Any ideas why the output is blank when trying to run from LabVIEW?