Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > .NET 1.0 and Visual Studio.NET > VS.NET 2002/2003
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
VS.NET 2002/2003 Discussions about the Visual Studio.NET programming environment, the 2002 (1.0) and 2003 (1.1). ** Please don't post code questions here ** For issues specific to a particular language in .NET, please see the other forum categories.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VS.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old October 9th, 2004, 10:19 AM
Authorized User
 
Join Date: Oct 2004
Location: Karachi, Sind, Pakistan.
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default DirectoryInfo.GetFiles(pattern): search pattern fo

hi,

i m trying with search pattern "*.txt | *.doc" for DirectoryInfo.GetFiles(string pattern).
but this doesn't work. what is the syntax for multiple files search pattern?

please help.

Arif.


Reply With Quote
  #2 (permalink)  
Old October 19th, 2004, 11:59 PM
Authorized User
 
Join Date: Oct 2004
Location: delhi, delhi, India.
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to dotnetprogrammer
Default

hi
u need to use filter seperately something like this

string s1[] = di.getfiles("*.txt");
string s2[] = di.getfiles("*.xls");

thanks

dotnet
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ajax Pattern TheGame Ajax 1 July 26th, 2008 03:02 PM
New help with Pattern in Java 2BOrNot2B Java Basics 1 July 1st, 2008 04:40 PM
Dispose Pattern guntank C# 0 September 26th, 2006 10:08 PM
Javascript Pattern How To muklee Javascript How-To 3 September 15th, 2006 09:11 AM
Desing Pattern tilakkalyan J2EE 3 February 14th, 2006 06:04 AM



All times are GMT -4. The time now is 02:26 PM.


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