//strSrcPath 源文件路径 strDestPath目标路径
BOOL ReNameFile(CString strSrcPath,CString strDestPath)
{
BOOL bRet = FALSE;
if (PathFileExists(strSrcPath))
{
if (_wrename(strSrcPath,strDestPath) == 0)
{
//ok
bRet = TRUE;
}else
{
printf("restor file Fail[%s]->[%s] GLE[%d]",strSrcPath,strDestPath,GetLastError());
}
}
return bRet;
}