This function tests the validity of the file and path. It works only on the local file system or on a remote drive that has been mounted to a drive letter. It will return FALSE for remote file paths that begin with the UNC names //server or //server/share. It will also return FALSE if a mounted remote drive is out of service.
<br />BOOL PathFileExists(LPCTSTRpszPath);<br /> Determines if a file exists.<br />---经检测,该函数可以检测文件或目录是否存在!Remarks<br />This function tests the validity of the file and path. It works only on the local file system or on a remote drive that has been