to Pipi.<br> SearchPath的第一个参数:lpPath Points to a null-terminated string that specifies the path to be searched for the file. If this parameter is NULL, the function searches for a matching file in the following directories in the following sequence: <br> 1.The directory from which the application loaded. <br> 2.The current directory. <br> 3.Windows 95: The Windows system directory. Use the GetSystemDirectory function to get the path of this directory.<br> Windows NT: The 32-bit Windows system directory. Use the GetSystemDirectory function to get the path of this directory. The name of this directory is SYSTEM32.<br> 4.Windows NT: The 16-bit Windows system directory. There is no Win32 function that obtains the path of this directory, but it is searched. The name of this directory is SYSTEM.<br> 5.The Windows directory. Use the GetWindowsDirectory function to get the path of this directory. <br> 6.The directories that are listed in the PATH environment variable. <br><br>所以,若是要找的应用程序不在上述任一路径中, SearchPath也是无能为力