Mail Archives: cygwin-developers/1998/04/11/01:59:17
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 -