Path Not Correctly Read When Using System Exec VI

Updated Mar 28, 2025

Reported In

Software

  • LabVIEW

Issue Details

I used the System Exec VI to call executable (*.exe) files programmatically, but LabVIEW returned an error stating that the path could not be found.

 

The selected file xxx.exe could not be opened. We could not find an application to open this type of file.

 

Solution

If your path contains non-English characters or spaces, you have to enclose the path in double quotation marks ("). This ensures the entire path is interpreted as a single string. Without the quotes, spaces or special characters may be misinterpreted as delimiters, causing errors.

 

Example of enclosing a path with non-English characters or spaces in double quotation marks: