Re:Windows NT vs. Unix: A design comparison
by marcodiego on Monday September 09, 2024 @05:12PM
(#41493954)
I created a file named aux.docx on a pendrive with Linux. Tried to open it on windows 7. It crashed word with a strange error. Don't know what would happen on 8+.
[ Parent
| on HN ]
Re:Windows NT vs. Unix: A design comparison
by uncanneyvalley on Monday September 09, 2024 @05:54PM
(#41494450)
It would fail, too. ‘CON’ has been a reserved name since the days of DOS (actually CP/M, though that doesn’t have direct lineage to Windows) where it acted as a device name for the console. You can still use it that way. In a CMD window:
`type CON > file.txt`, then type some stuff and press CTRL+Z.
https://learn.microsoft.com/en-us/windows/win32/fileio/namin...
Re:Windows NT vs. Unix: A design comparison
by nullindividual on Monday September 09, 2024 @06:37PM
(#41494949)
This is a Win32-ism rather than an NT-ism. This will work:
mkdir \\.\C:\COM1
Re:Windows NT vs. Unix: A design comparison
by monocasa on Monday September 09, 2024 @05:50PM
(#41494398)
It's a dos holdover implemented in the win32 side of things in user space. I'm pretty sure it still exists on win11.
https://stackoverflow.com/questions/40794287/cannot-write-to...