如何使用vc ++在记事本中打开.conf文件? [英] How to open a .conf file in notepad using vc++?
本文介绍了如何使用vc ++在记事本中打开.conf文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使用vc ++在记事本中打开.conf文件?
我用过
How to open a .conf file in notepad using vc++?
I have used
system("notepad E:\new.conf");
但是它只是打开了一个记事本,没有文件中的任何文本.
But it just opens a notepad without any text from that file.
推荐答案
我找到了答案.
I have found the answer..
ShellExecute(0,_T("open"), _T("notepad.exe"),_T("E:\\New\\new.conf"),0,SW_SHOW);
这篇关于如何使用vc ++在记事本中打开.conf文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文