Driver Problems? Questions? Issues?
Put OSR's experience to work for you! Contact us for assistance with:
  • Creating the right design for your requirements
  • Reviewing your existing driver code
  • Analyzing driver reliability/performance issues
  • Custom training mixed with consulting and focused directly on your specific areas of interest/concern.
Check us out. OSR, the Windows driver experts.

OSR Seminars


Go Back   OSR Online Lists > ntfsd
Welcome, Guest
You must login to post to this list
  Message 1 of 1  
19 Nov 02 20:18
ntfsd member 8
xxxxxx@osr.com
Join Date:
Posts To This List: 2736
RE: Directory listings with pattern (was RE: How to q uery for a long filename using IRP_MJ_DIRECTO RY_CONTROL/IRP_MN_ QUERY_DIR ECTORY?)

You caught me, Dan. Absolutely right. Zero or more. I'm assuming there is a brilliant discussion of this somewhere in the IFS Kit documentation, of course (right Diane? ;-) ) Regards, Tony Tony Mason Consulting Partner OSR Open Systems Resources, Inc. http://www.osr.com -----Original Message----- From: Dan Kyler [mailto:xxxxx@privtek.com] Sent: Tuesday, November 19, 2002 6:48 PM To: File Systems Developers Subject: [ntfsd] RE: Directory listings with pattern (was RE: How to query for a long filename using IRP_MJ_DIRECTO RY_CONTROL/IRP_MN_QUERY_DIR ECTORY?) Hi Tony, > * = "match one or more characters" I believe that should read "zero or more". - Dan. -----Original Message----- From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Tony Mason Sent: Tuesday, November 19, 2002 12:47 PM To: File Systems Developers Subject: [ntfsd] RE: Directory listings with pattern (was RE: How to query for a long filename using IRP_MJ_DIRECTO RY_CONTROL/IRP_MN_QUERY_DIR ECTORY?) There are five wildcard characters in the Windows pattern matching syntax (that is the syntax implemented by FsRtlIsNameInExpression, that venerable and nearly inscrutable function.) * = "match one or more characters" ? = "match one character" < = "match one or more characters using MS-DOS semantics" > = "match one character using MS-DOS semantics" " = "match dot using MS-DOS semantics" Thus, the last three are for MS-DOS compatibility, which restricts the character set that can match. For example, spaces are allowed in MS-DOS names, but not before or after the dot. These MS-DOS patterns match those semantics. For building your own strings, I highly recommend sticking with the Windows semantics, not the MS-DOS semantics. Regards, Tony Tony Mason Consulting Partner OSR Open Systems Resources, Inc. http://www.osr.com -----Original Message----- From: Tobias [mailto:xxxxx@linkwave.org] Sent: Tuesday, November 19, 2002 12:14 PM To: File Systems Developers Subject: [ntfsd] Directory listings with pattern (was RE: How to query for a long filename using IRP_MJ_DIRECTO RY_CONTROL/IRP_MN_QUERY_DIRECTORY?) Don't wanna bother, but for (3) I have some additional questions. The format of "*.doc" is really easy to use (especially when building directory information buffers), but how about those special wildcards like "\"" or "<" ( C notation, it's hard to quote a " :) ) ? Is there an overview of all options for directory wildcards and their meaning somewhere? Or can one simply use * for any illegal non-zero character? Regards & TIA, Tobias ----- Original Message ----- From: "Tony Mason" <xxxxx@osr.com> To: "File Systems Developers" <xxxxx@lists.osr.com> Sent: Tuesday, November 19, 2002 2:59 PM Subject: [ntfsd] RE: How to query for a long filename using IRP_MJ_DIRECTO RY_CONTROL/IRP_MN_QUERY_DIRECTORY? > (3) This can either be a file name you wish to find (not a path, just > a > filename) or a regular expression (e.g., "*.doc" to find all of the DOC > files within the directory.) That name will be used to match the short OR > long file name. --- You are currently subscribed to ntfsd as: xxxxx@osr.com To unsubscribe send a blank email to %%email.unsub%% --- You are currently subscribed to ntfsd as: xxxxx@privtek.com To unsubscribe send a blank email to %%email.unsub%% --- You are currently subscribed to ntfsd as: xxxxx@osr.com To unsubscribe send a blank email to %%email.unsub%%
Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You must login to OSR Online AND be a member of the ntfsd list to be able to post.

All times are GMT -5. The time now is 21:36.


Copyright ©2015, OSR Open Systems Resources, Inc.
Based on vBulletin Copyright ©2000 - 2005, Jelsoft Enterprises Ltd.
Modified under license