Share via


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

See Also

Reference

CPathT Class

Other Resources

CPathT Members