Call this member function to specify the path of the file; for example, if the path of a file is not available when a CFile object is constructed, call SetFilePath to provide it.
virtual void SetFilePath( LPCTSTR lpszNewName );
| Header File | Afx.h |
| Platforms | |
| Versions | 1.0 and later |
| Complete documentation | Visual C++ documentation |
CFile Overview, CFile Member Functions, File Service Classes, CFile, CFile Member Functions, CFile::GetFilePath, CFile::CFile