L
LINCO
Unregistered / Unconfirmed
GUEST, unregistred user!
var<br>filename,fadd:string;<br>begin<br> filename:=ExtractFilePath(paramstr(0))+'myini.ini';<br> myinifile:=TInifile.Create(filename);<br> fadd:=myinifile.readstring<br> ('Data Set','fileadd','');<br>//fadd为文件的路径<br> ShellExecute(handle,'open','fadd','-s','',SW_SHOWNORMAL);<br>end;<br><br>这样设执行不了文件文件,要如何设置呢,谁能告诉我吗?