Why doesn't Windows drop the purported compatibility with CP/M and get rid of control-z being a special file marker at this point? Lots of legacy code relying on it?
FWIW it's generally advised to not open files in text mode on Windows anyway. The handling of \x1A is one reason. The automatic mangling of newlines into Windows newlines is another.
Edit: And while cmd's type does process it, modern stuff like PS's Get-Content does not.
JdeBP|7 years ago
It's library code in a large number of applications programs.
* http://jdebp.eu./FGA/dos-character-26-is-not-special.html
Arnavion|7 years ago
Edit: And while cmd's type does process it, modern stuff like PS's Get-Content does not.
Thorrez|7 years ago