CHAR fullPath[100];
GetCurrentDirectory(100,fullPath);
sname.Format("%s",fullPath);
GetDlgItem(IDC_EDIT4)->SetWindowText(sname);
GetCurrentDirectory(100,fullPath);
sname.Format("%s",fullPath);
GetDlgItem(IDC_EDIT4)->SetWindowText(sname);