CString strPath="D:\\Movie\\周星驰\\";
int ndex=strPath.ReverseFind('\\');
CString strUpPath=strPath.Left(ndex);

相关文章: