MFC----文件改名CFile---rename

CString strOldName= "c:\\1.exe "; 

CString strNewName= "c:\\2.exe "; 

CFile::Rename(strOldName,strNewName); 

你可能感兴趣的:(c)