MSDN에 나와있음http://msdn.microsoft.com/en-us/library/bb759844(VS.85).aspx이곳 잘 살펴보고 사용하기 아래에도 예제가 나와있음출처 : http://www.eggheadcafe.com/software/aspnet/29583177/get-folder-from-full-file.aspxHere are some functions you may find useful (since you are using MFC):Tom // // Returns the file portion from a path // CString GetFileOnly(LPCTSTR Path) { // Strip off the path and return just the filename part C..