09-09-2014 08:53 AM
Hello,
how can i execute a program from a vi?
I want to open a textfile with Windows7-Notepad after selelecting it from a file-path-control and pressing an open-button.
Thx for help
Solved! Go to Solution.
09-09-2014 09:11 AM
09-09-2014 09:12 AM
Use the command line. Something like cmd /c notepad c:\temp\blah.txt should work.
09-09-2014 09:28 AM - edited 09-09-2014 09:30 AM
Another option is the Open URL in Default Browser VI which is found in the help palette. If you use the Path to String function you can feed it the result as a URL and the Windows shell knows how to direct it to the default program, which is Notepad.
Edit -