How to find files with .tab extension in folder through file handling [Resolved]

Posted by Avdesh under C# on 3/25/2012 | Points: 10 | Views : 891 | Status : [Member] | Replies : 2
CAN ANYONE TELL ME THE CODE FOR THIS IN SIMPLE WAY!!!!!
THANKS AND REGARDS
AVDESH




Responses

Posted by: Savariya on: 3/26/2012 [Member] Starter | Points: 50

Up
0
Down

Resolved
string[] filePaths = Directory.GetFiles(@"c:\MyDir\", "*.tab");

You just have to import System.IO; name space

Thanks

Avdesh, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Avdesh on: 3/26/2012 [Member] Starter | Points: 25

Up
0
Down
Thank you very much dear

Avdesh, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response