CFile::SetFilePath

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.

Syntax

virtual void SetFilePath( LPCTSTR lpszNewName );

At a Glance

Header File Afx.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CFile Overview, CFile Member Functions, File Service Classes, CFile, CFile Member Functions, CFile::GetFilePath, CFile::CFile