From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Get data from STDIO window

Is it possible to read from the DOS stdio window in a console app? I'm looking for the result of a DOS batch command. Thanx.
0 Kudos
Message 1 of 2
(2,665 Views)
Maybe you can redirect output from your DOS commands to a physical file and read the file content.

A DOS command can create a new output file by adding "> filename" after the command (such as "Dir > output.txt") and append to an existing file by using ">>" instead of ">".


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 2
(2,665 Views)