HINSTANCE ShellExecute( HWND hwnd, // handle to parent window<br> LPCTSTR lpOperation, // pointer to string that specifies operation to perform<br> LPCTSTR lpFile, // pointer to filename or folder name string<br> LPCTSTR lpParameters, // pointer to string that specifies executable-file parameters <br> LPCTSTR lpDirectory, // pointer to string that specifies default directory<br> INT nShowCmd // whether file is shown when opened );<br>LPCTSTR lpFile 是可执行文件或是要打开的文件。也可是网叶或是邮件 LPCTSTR lpParameters 是要被执行的文件的路径 例如<br>shellexecute(handle,'open',pchar('http://www.gislab.ecnu.edu.cn'),nil<br>,nil,sw_shownormal);<br>shellexecute(handle,'winmap.exe',pchar('c;/*.mp3'),nil,sw_shownomal);<br>这个 api 可能不能满足你的需要。<br>怎样用API(比如:SHELLEXECUTE())调用其他程序的初始化参数 ???<br>具体你要做什莫?? winexec()是打开一个进程。即运行C:>ENCODE B.DAT <br>PASSWORD