-----------------------------------------------------------

New Message on MumbaiUserGroup

-----------------------------------------------------------
From: ajjoshi
Message 5 in Discussion




  
    
    New Message on MumbaiUserGroup
  
  





      WinFrm(C#.net):Read Directory

    
  
    
      Reply

          
            
                
               
                  Reply to Sender
                    Recommend
                  
                  Message 3 in Discussion
                                                
            
          
        
                    
        
            
              From: 
              ajjoshi
            
            
              

              


  
    
    New Message on MumbaiUserGroup
  
  





      WinFrm(C#.net):Read Directory

    
  
    
      Reply

          
            
                
               
                  Reply to Sender
                    Recommend
                  
                  Message 2 in Discussion
                                                
            
          
        
                    
        
            
              From: 
              ajjoshi
            
            
              

              DirectoryInfo di = new DirectoryInfo("c:\\accounts");
                        FileInfo[] fArr = di.GetFiles("??A??.txt");
                        for (int iCounter = 0 ; iCounter < fArr.Length ;
iCounter++)
                        {
                                string str = fArr[iCounter].Name;
                        }

Hope this will solve your problem
Anand
-----Original Message-----
From: niyati [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 28, 2005 6:12 PM
To: MumbaiUserGroup
Subject: WinFrm(C#.net):Read Directory

-----------------------------------------------------------

New Message on MumbaiUserGroup

-----------------------------------------------------------
From: niyati
Message 1 in Discussion

Hi,   Can anybody help me to read all the names of the files from a
particular folder on the basis of the wild card specified. Eg:
Suppose I have a folder with the name 'accounts'.
In this folder there may be one or more files.And my search string is
'??A??.txt'.
How can I display the list of all the files meeting the above search
criteria? It's bit urgent if you guys can help me out. Thanks in advance.
Thanks & Regards,
Niyati D'Souza  

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your
E-mail Settings.
http://groups.msn.com/mumbaiusergroup/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you
received this message by mistake, please click the "Remove" link below. On
the pre-addressed e-mail message that opens, simply click "Send". Your
e-mail address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]


          
        
      
          
  

    View other groups in this category.
  

  

      



          
        
      
          
  

    View other groups in this category.
  

  

      




-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/mumbaiusergroup/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member 
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you 
received this message by mistake, please click the "Remove" link below. On the 
pre-addressed e-mail message that opens, simply click "Send". Your e-mail 
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to