This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
RE: True case-sensitive filenames
- From: "Gerald S. Williams" <gsw at agere dot com>
- To: <cygwin-developers at cygwin dot com>
- Date: Tue, 21 Jan 2003 12:14:02 -0500
- Subject: RE: True case-sensitive filenames
I wrote:
> Larry Hall wrote:
> > Interested in creating a Windows filesystem filter driver that would
> > permit files with the names com, aux, and prn too? ;-) OK, I know
> > that would be asking too much! :-)
>
> You can do this using the Native API (I just checked by
> creating "prn" and "PRN").
The following also works:
h = CreateFileW(L"\\\\?\\C:\\full\\path\\to\\prn",
GENERIC_READ, FILE_SHARE_DELETE, NULL, CREATE_ALWAYS,
FILE_FLAG_POSIX_SEMANTICS, 0);
-Jerry