I know this question has been asked before but I still haven\'t seen a satisfactory answer, or a definitive \"no, this cannot be done\", so I\'ll ask again!
All I wa
char exePath[512]; CString strexePath; GetModuleFileName(NULL,exePath,512); strexePath.Format("%s",exePath); strexePath = strexePath.Mid(0,strexePath.ReverseFind('\\'));