But they are equivalent … a * is equivalent to a <.
Pete
–
Kernel Drivers
Windows File System and Device Driver Consulting
www.KernelDrivers.com
866.263.9295
------ Original Message ------
From: “Maxim S. Shatskih”
To: “Windows File Systems Devs Interest List”
Sent: 6/11/2015 8:27:30 AM
Subject: Re:[ntfsd] About Parameters.QueryDirectory.FileName format in
IRP_MN_QUERY_DIRECTORY
>
> No, MS-DOS used > and < in the same way as CMD.EXE (which continues
>MS-DOS tradition) and UNIX shell.
>
>–
>Maxim S. Shatskih
>Microsoft MVP on File System And Storage
>xxxxx@storagecraft.com
>http://www.storagecraft.com
>>“PScott” wrote in message
>>news:xxxxx@ntfsd…
>>
>>The < character is the DOS equivalent of * and > is the DOS equivalent
>>of ?. Look in the FastFat source code in the dirctrl.c file, you’ll
>>see a pattern at the top for DOS_QM. Search for this in the ntifs.h
>>header file in the WDK and read the comments there.
>>
>>Pete
>>
>>–
>>Kernel Drivers
>>Windows File System and Device Driver Consulting
>>http://www.kerneldrivers.com/
>>866.263.9295
>>
>>
>>
>>------ Original Message ------
>>From: “Madhusudhana Narayanappa”
>>To: “Windows File Systems Devs Interest List”
>>Sent: 6/11/2015 7:18:34 AM
>>Subject: [ntfsd] About Parameters.QueryDirectory.FileName format in
>>IRP_MN_QUERY_DIRECTORY
>>
>>>Hi,
>>>Background:
>>>I have a minifilter that intercepts filesystem calls under a
>>>directory of interest of our application.
>>>
>>>I communicate with the usermode app of the dirlisting parameters
>>>including filters with wild card,
>>>
>>>From the command prompt if I type dir
>>>Parameters.QueryDirectory.FileName show “*” as expected.
>>>or if I type dir doc, the Parameters.QueryDirectory.FileName shows
>>>the same filter i.e., “doc"
>>>
>>>
>>>The problem:
>>>The problem is when there is dot next the wild card, say ".docx”,
>>>Parameters.QueryDirectory.FileName shows “<.docx” instead of ".docx"
>>>
>>>I could not find any documentation of this kind of behavior.
>>>It will be of great help if you could throw some light on the format
>>>of wild card.
>>>
>>>
>>>
>>>
>>>Thanks and regards,
>>>Madhusudhana
>>>— NTFSD is sponsored by OSR OSR is hiring!! Info at
>>>http://www.osr.com/careers For our schedule of debugging and file
>>>system seminars visit: http://www.osr.com/seminars To unsubscribe,
>>>visit the List Server section of OSR Online at
>>>http://www.osronline.com/page.cfm?name=ListServer
>
>—
>NTFSD is sponsored by OSR
>
>OSR is hiring!! Info at http://www.osr.com/careers
>
>For our schedule of debugging and file system seminars visit:
>http://www.osr.com/seminars
>
>To unsubscribe, visit the List Server section of OSR Online at
>http://www.osronline.com/page.cfm?name=ListServer
No, < is stdin redirection, and > is stdout redirection. Surely it was working in MS-DOS.
–
Maxim S. Shatskih
Microsoft MVP on File System And Storage
xxxxx@storagecraft.com
http://www.storagecraft.com
“PScott” wrote in message news:xxxxx@ntfsd…
But they are equivalent … a * is equivalent to a <.
Pete
–
Kernel Drivers
Windows File System and Device Driver Consulting
www.KernelDrivers.com
866.263.9295
------ Original Message ------
From: “Maxim S. Shatskih”
To: “Windows File Systems Devs Interest List”
Sent: 6/11/2015 8:27:30 AM
Subject: Re:[ntfsd] About Parameters.QueryDirectory.FileName format in IRP_MN_QUERY_DIRECTORY
No, MS-DOS used > and < in the same way as CMD.EXE (which continues MS-DOS tradition) and UNIX shell.
–
Maxim S. Shatskih
Microsoft MVP on File System And Storage
xxxxx@storagecraft.com
http://www.storagecraft.com
“PScott” wrote in message news:xxxxx@ntfsd…
The < character is the DOS equivalent of * and > is the DOS equivalent of ?. Look in the FastFat source code in the dirctrl.c file, you’ll see a pattern at the top for DOS_QM. Search for this in the ntifs.h header file in the WDK and read the comments there.
Pete
–
Kernel Drivers
Windows File System and Device Driver Consulting
http://www.kerneldrivers.com/
866.263.9295
------ Original Message ------
From: “Madhusudhana Narayanappa”
To: “Windows File Systems Devs Interest List”
Sent: 6/11/2015 7:18:34 AM
Subject: [ntfsd] About Parameters.QueryDirectory.FileName format in IRP_MN_QUERY_DIRECTORY
Hi,
Background:
I have a minifilter that intercepts filesystem calls under a directory of interest of our application.
I communicate with the usermode app of the dirlisting parameters including filters with wild card,
From the command prompt if I type dir Parameters.QueryDirectory.FileName show “*” as expected.
or if I type dir doc, the Parameters.QueryDirectory.FileName shows the same filter i.e., “doc"
The problem:
The problem is when there is dot next the wild card, say ".docx”, Parameters.QueryDirectory.FileName shows “<.docx” instead of ".docx"
I could not find any documentation of this kind of behavior.
It will be of great help if you could throw some light on the format of wild card.
Thanks and regards,
Madhusudhana
— NTFSD is sponsored by OSR OSR is hiring!! Info at http://www.osr.com/careers For our schedule of debugging and file system seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
—
NTFSD is sponsored by OSR
OSR is hiring!! Info at http://www.osr.com/careers
For our schedule of debugging and file system seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
On Thu, 11 Jun 2015, Maxim S. Shatskih wrote:
No, < is stdin redirection, and > is stdout redirection. Surely it was working in MS-DOS.
I think you are talking about different things, they are meaning this
stuff:
//
// The following constants provide addition meta characters to fully
// support the more obscure aspects of DOS wild card processing.
//
#define ANSI_DOS_STAR (‘<’)
#define ANSI_DOS_QM (‘>’)
#define ANSI_DOS_DOT (‘"’)
#define DOS_STAR (L’<‘)
#define DOS_QM (L’>‘)
#define DOS_DOT (L’"')
I think the point is that an FSD should interpret wildcards differently if
they come from a dos vdm so therefore they are marked like this.
Bo Branten