Execute Multiple Commands with One System Exec Call

Updated Apr 24, 2018

Reported In


  • LabVIEW

Operating System

  • Windows

Issue Details

How can I execute multiple commands with a single call to the System Exec VI in LabVIEW for Windows OS?


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