lkml.org 
[lkml]   [2006]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: VFAT: Can't create file named 'aux.h'?
H. Peter Anvin wrote:
> Probably it would be worth trying to create "aux.h" under XP and see
> what happens. Unfortunately I don't have a 'doze system handy at the
> moment.

kernel32.dll's CreateFile() and other apis normally perform translation
which includes special handling for dos device names including AUX. You
can bypass this by prefixing the absolute file name with the string
"\\?\" and this will allow you to create a file named AUX. It also
allows you to reference file names with absolute paths greater than 255
characters.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-03-21 21:04    [W:0.093 / U:0.440 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site