CFile::Remove

Call this member function to delete the file specified by the path. It will not remove a directory.

Syntax

static void PASCAL Remove( LPCTSTR lpszFileName );
throw( CFileException );

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