View Single Post
  #1 (permalink)  
Old June 29th, 2006, 09:16 PM
cmyeung_99 cmyeung_99 is offline
Registered User
 
Join Date: Jun 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Directory.GetFiles got other not related files

Hi all,

I coded the following:

   string pattern = "*" + "05" + "*.tif";
   string[] files = Directory.GetFiles(searchPath, pattern);

But the returned array stored:

TEST-505.tif
TEST-480.tif
TEST-405.tif
TEST-400.tif

Please help !!!!