在程序中调用打开文件(10分)

L

l.w.wei

Unregistered / Unconfirmed
GUEST, unregistred user!
我想在我的程序里面用写字板或记事本打开一个文本文件。用的是什么函数?
 
shellexcute
 
用API函数WinExec,具体的可以找一下API函数的说明
 
winexec('notepad.exe '+filename,SW_NORMAL);
 
多人接受答案了。
 
顶部