Shell 是用来执行外部的可执行文件如果是一个文件,那要用ShellExecute来启动预设的程式来开启文件'HINSTANCE ShellExecute(' HWND hwnd, // handle to parent window' LPCTSTR lpOperation, // pointer to string that specifies operation to perform' LPCTSTR lpFile, // pointer to filename string' LPTSTR lpParameters, // pointer to string that specifies executable-file parameters' LPCTSTR lpDirectory, // pointer to string that specifies default directory' INT nShowCmd // whether file is shown when opened' );例:.doc 是由word或w...[ 查看全文 ]