CPathT::RemoveFileSpec
Call this method to remove the trailing file name and backslash from the path, if it has them.
BOOL RemoveFileSpec( );
Return Value
Returns TRUE on success, FALSE on failure.
Remarks
For more information, see PathRemoveFileSpec.
Requirements
Header: atlpath.h