p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   C# 2005 (http://p2p.wrox.com/forumdisplay.php?f=138)
-   -   Directory.GetFiles got other not related files (http://p2p.wrox.com/showthread.php?t=44661)

cmyeung_99 June 29th, 2006 09:16 PM

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 !!!!


All times are GMT -4. The time now is 01:08 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.