Skip to content

easy-window/Path

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Path Libraries

This is a Windows path related operation library. Including path decomposition, splicing, obtaining, creating, browsing and so on.

Usage

#include "Path.h"
using namespace Easy;

CString sPath = _T("C:\\Users\\Administrator\\Download\\example.jpg");

Path::GetFileName(sPath);   // example.jpg
Path::GetDirectory(sPath);  // C:\Users\Administrator\Download\ 
Path::GetExtName(sPath);    // .jpg