Please rename aux.py
github.com
github.com
Microsoft still recommends avoiding those file names. https://docs.microsoft.com/en-us/windows/win32/fileio/naming...
One IT lesson, I changed the front page it opened to something like "<img src='c://con/con'>", very amusing :D
Nowadays I'd probably be arrested.
AUX is for "auxiliary" (aka "misc."/"other") device - i.e. any other bit of unspecified random hardware you'd managed to hook up with a custom driver by yourself.
They really need to revamp the whole thing, and their efforts in more modern OSes that attempt to virtualizes each apps access seems like a place this would have been a priority, and yet a poorly named file or folder can still cause a Crash to desktop.
This can be annoying if you move a drive between differing OS's and the NTFS bit on the other side does interesting things. NTFS is also case sensitive. But the win32 layer 'hides' it mostly, there is a flag to turn it on. Unless you do something like write from a linux box and you can end up with 2 files named the 'same' but different case. It is also possible to trick windows into doing it but it is tougher.
Nitpick: It’s MAX_PATH :) Also, there is a way around the limitation: prefix all (absolute) file paths with \\?\
https://docs.microsoft.com/en-us/windows/win32/fileio/maximu...
You also have issues where something can be opened with a long path but then the saving fails because it can't write to the location.
In general it's a mess.
Make a decade-long transition plan, I don't care. As long as there is a plan.