You can use the CFileFind CFileFind cf; cf.FindFile("C:\\Program Files\\codeproject.txt"); cf.FindNext(); CString strFileName = cf.GetFileName(); Rgds Abhay..
A
Abhay Menon
@Abhay Menon
You can use the CFileFind CFileFind cf; cf.FindFile("C:\\Program Files\\codeproject.txt"); cf.FindNext(); CString strFileName = cf.GetFileName(); Rgds Abhay..