Call this member function to rename the specified file. Directories cannot be renamed. This is equivalent to the REN command.
static void PASCAL Rename( LPCTSTR lpszOldName, LPCTSTR lpszNewName );
throw( CFileException );
| Header File | Afx.h | 
| Platforms | |
| Versions | 1.0 and later | 
| Complete documentation | Visual C++ documentation | 
CFile Overview, CFile Member Functions, File Service Classes