virtual CString GetFilePath( ) const;
Return Value
The path of the specified file.
Remarks
Call this member function to get the full path of the specified file. You must call FindNextFile at least once before calling GetFilePath.
GetFilePath is one of three CFileFind member functions that return some form of the file name. The following list describes the three and how they vary:
c:\myhtml\myfile.txt
returns the file name myfile.txt
.c:\myhtml\myfile.txt
returns the file path c:\myhtml\myfile.txt
.c:\myhtml\myfile.txt
returns the file title myfile
.Example
See the example for CFileFind::GetFileName.
CFileFind Overview | Class Members | Hierarchy Chart
See Also CFileFind::FindFile