CString Path; BOOL rec = PathFileExists(Path); if(rec) { //存在 }else{ // 不存在 } 转载于:https://www.cnblogs.com/kingbin/p/4073752.html