delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/04/11/12:59:26

From: lhall AT rfk DOT com (Larry Hall)
Subject: Re: FW: Special Filenames AUX, CON, etc.
11 Apr 1998 12:59:26 -0700 :
Message-ID: <3.0.5.32.19980411153134.00a24770.cygnus.cygwin32.developers@pop.ma.ultranet.com>
References: <01BD6548 DOT A29CAEF0 AT sos>
Mime-Version: 1.0
To: Sergey Okhapkin <sos AT buggy DOT prospect DOT com DOT ru>
Cc: "'cygwin32-developers AT cygnus DOT com'" <cygwin32-developers AT cygnus DOT com>

According to the MS docs, the "\\?\" syntax is an NT thing only.  Perhaps 
this is now dated information.  I don't know.  I've heard others claiming
that just using UNC is enough to cure this problem.  If that's true, I 
think its better to use this capability, since it is more likely to work
for 95 as well.

Larry Hall                              lhall AT rfk DOT com
RFK Partners, Inc.                      (781) 239-1053
8 Grove Street                          (781) 239-1655 - FAX
Wellesley, MA  02181                    http://www.rfk.com


At 11:25 AM 4/11/98 +0400, Sergey Okhapkin wrote:
>
>Any ideas? It seems reasonable to me...
>
>----------
>From: 	Spencer Low
>Sent: 	суббота, 11 апреля 1998 г. 6:30
>To: 	sos AT prospect DOT com DOT ru
>Subject: 	Special Filenames AUX, CON, etc.
>
>I saw some messages on the gnu-win32 mailing list about how Windows NT
>doesn't have the capability to create/open files with special names (or
>containing special names) like AUX. I was really surprised to see that
>gnu-win32 doesn't properly open files with these funny names when the fix is
>quite easy.
>
>To create/open a file with a special name, reference it like:
>
>\\?\C:\MyDirectory\aux
>
>instead of
>
>C:\MyDirectory\aux
>
>I tried this with the gnu-win32 tools and I was able to manipulate files
>with special names with no problems.
>
>[The original purpose of the \\?\{FullPath} syntax seems to be a mechanism
>to get NT to recognize a full path longer than 255 characters]
>
>I'm not subscribed to the mailing list and I don't have time to submit a
>patch, but I thought you may be able to use this info to patch gnu-win32 if
>you have the time and energy.
>
>Thanks,
>
>Spencer [please feel free to forward this along]
>--
>Spencer Low <spencer AT lowtek DOT com>
>
>
>
>
>

- Raw text -


  webmaster     delorie software   privacy  
  Copyright ╘ 2019   by DJ Delorie     Updated Jul 2019