说明:我在C盘中创建了sy文件夹下有N个.ini文件
CFileFind   finder;
// SetCurrentDirectory("c\\sy\\");  
CString str1;
str1="c\\sy";
  
  BOOL   bWorking   =   finder.FindFile(str1+"\\*.ini"); //DEBUG到这时bWorking=0  
  while   (bWorking)   
  {   
        bWorking   =   finder.FindNextFile();    
     file_name=(CString)finder.GetFileName();  
AfxMessageBox(file_name);
  //可对文件进行操作 
str="c\\sy\\"+file_name+".ini";
CStdioFile   hTxtFile;
hTxtFile.Open(str,CFile::modeReadWrite);
int k=1;
if(hTxtFile.ReadString(str))
{
    AfxMessageBox(str);
}
hTxtFile.Close();*/
  }   
  finder.Close   (); 
不知道是为什么?  
还请个位大侠帮帮忙!
先谢谢了!