In[]:=
SetDirectory[NotebookDirectory[]];
In[]:=
Button["Open Config Template",Run["\"C:\\Program Files\\Notepad++\\notepad++.exe\" simulink_model_config_template.txt"]]
Out[]=
i try to open a txt by mathematica, however,when i click the button, Mathematica will show a error like below pic.