Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

For legacy reasons, any drive path that ends in a special name, such as `AUX` will be rewritten by Win32 as the NT path `\??\AUX`. This `AUX` is a special device, not a file on the filesystem.

So, for example, `C:\Users\ChrisSD\AUX` will be resolved to `\??\AUX`.

Even more surprisingly, any filename that starts with `aux.` will also be affected by this. E.g. `C:\Users\ChrisSD\aux.txt`.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: