anyone tried opening the magic file "con" from MS DOS Edit?
I was hoping for an editor but it turns out instead it happily opens it but then hangs forever
anyone tried opening the magic file "con" from MS DOS Edit?
I was hoping for an editor but it turns out instead it happily opens it but then hangs forever
weird punnet square of results:
EDIT hangs if you open "CON", but errors if you try "C:\CON\CON"
Win95 errors if you try to open "CON", but crashes if you try "C:\CON\CON"
@sabik it can't exist, you can't create a folder named "CON".
like, to this day. I just tried on windows 11, it told me no
@sabik @foone you don't even have to go that far; creating files having mounted the drive under linux is enough
most of the windows file name limitations are enforced at the Win32 API layer, not NTFS (or even FAT). which means some casual quoting in a linux shell can turn into trying to remember the \\?\ UNC path magic to deal with them under Windows.
...god, I wonder if WSL1 can also do it, since it's a kernel personality
@sabik @foone Yeah there we go. SystemRescueCD + WinXP VM, just needed to slip an era later.
Nothing crashes when I try to open it in Notepad, it just throws an "Access denied" MsgBox.
And trying to delete it shows the layer confusion (remember when people used standard MsgBox, so Ctrl-C worked?):
"Cannot delete CON: Cannot find the specified file.
Make sure you specify the correct path and file name."