Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT cygwin DOT com Delivered-To: mailing list cygwin-developers AT cygwin DOT com From: "Gerald S. Williams" To: Subject: RE: True case-sensitive filenames Date: Tue, 21 Jan 2003 12:14:02 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal In-Reply-To: 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