Multiple commands can be executed with the System Exec VI by separating the commands with the '&'
character. For example, if you wanted to execute ipconfig
followed by dir
you would call the
System Exec VI with the following line as the Command Line input:
cmd /k ipconfig & dir
Note: This image is a LabVIEW snippet, which includes LabVIEW code that you can reuse in your project. To use a snippet, right-click the image, save it to your computer, and drag the file onto your LabVIEW diagram.