3 ms·
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
by uncanneyvalley 2y ago
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/naming-a-file https://learn.microsoft.com/en-us/windows/win32/fileio/namin...
- nullindividual 2y agoThis is a Win32-ism rather than an NT-ism. This will work: mkdir \\.\C:\COM1