char path[MAX_PATH]; GetCurrentDirectory(MAX_PATH,path); CString str = path; strPath += " //YourFileName";