My application requires a txt file to be opened and displayed. the problem is, we are able to launch the notepad using "systemexec.vi". but we want to launch the notepad with the appropraite file opened along with launching of notepad.exe.
we don't want the user to interact with the "open file dialouge box" of the note pad appliation.we just want the user to view directly the required txt file.
Hi, All you have to do is use the "systemexe.vi" and generate a path like for example :- notepad.exe "C:\Documents and Settings\viveks\Desktop\ftp.txt" this is given to the command line argument in systemexe.vi this will do your job. cheers vicky
If you only want to display a text file you can load it and use a string indicator inside Labview. So your user will never have to deal with notepad.exe (as he can access the menu of notepad anyway...).
Best regards, GerdW
using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019