To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example shows how to use the System Exec.vi to use a cmd line prompt command to find the default program associated with a certain file extension
Description
The System Exec.vi is a way to send cmd line strings directly to the command line prompt. This VI shows how to use this function to know what program is associated with a specific file type
Requirements
Steps to Implement or Execute Code
Additional Information or References
VI Block Diagram
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.