Solution
This error normally occurs when trying to run a command-window-specific command such as dir or set, or when trying to run an executable from the command line. Using the System Exec.vi is not the same as typing a command into a command prompt; instead, it is like typing a command into the "Run..." window.
To run command prompt commands from the System Exec.vi, execute the command prompt window first with the following command:
cmd /c
For example, to run the DOS command dir, use the following string as your command line input into System Exec.vi:
cmd /c dir C:
To run an executable, you would use the following string as your command line input into System Exec.vi:
cmd /c C:\...\application_name.exe
In this case, application_name.exe is the name of the executable you are calling. You must include the entire file path for the application, as represented by the C:\...\. If the file path contains any spaces then the entire path must be surrounded by quotation marks. For example, to open LabVIEW 8.2 you would use the following string:
cmd /c "C:\Program Files\National Instruments\LabVIEW 8.2\LabVIEW.exe"
If after making that change the issue remains, consider running the command in CMD to validate the syntax of the command is accurate. If any error is presented in CMD it should be fixed before moving back to LabVIEW.