Why are you using a regex to do this? Why not create a file object for the directory you want to look for files in and then call the File objects listFiles() method passing in a FilenameFilter to only accept files not ending in .pst.
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 4 of 4
Threaded View
|
Click Here to Expand Forum to Full Width |