前一种方法会更好,但建议你用CreateProcess来运行更Ok

解决方案 »

  1.   

    你倒数第二个参数应设为EXE文件所在的路径。要不然你可以运行一个快捷方式。
      

  2.   

    确认是输入成E:\\wabdc2000\\wabdc.exe?不过最好还是使用CreateProcess来运行吧。BOOL CreateProcess(    LPCTSTR lpApplicationName, // pointer to name of executable module 
        LPTSTR lpCommandLine, // pointer to command line string
        LPSECURITY_ATTRIBUTES lpProcessAttributes, // pointer to process security attributes 
        LPSECURITY_ATTRIBUTES lpThreadAttributes, // pointer to thread security attributes 
        BOOL bInheritHandles, // handle inheritance flag 
        DWORD dwCreationFlags, // creation flags 
        LPVOID lpEnvironment, // pointer to new environment block 
        LPCTSTR lpCurrentDirectory, // pointer to current directory name 
        LPSTARTUPINFO lpStartupInfo, // pointer to STARTUPINFO 
        LPPROCESS_INFORMATION lpProcessInformation  // pointer to PROCESS_INFORMATION  
       );
      

  3.   

    要使用CreateProcess的具体例子吗?
      

  4.   

    象《我爱背单词》之类的软件在启动时需要在他的工作目录下查找文件,所以你应该给他指定他的工作路径,也就是给出ShellExecute的倒数第二个参数。即
    shellexecute(handle,'open','exe文件路径','','exe文件工作路径',SW_SHOWNORMAL)