in reply to Reading from the keyboard in Win32 without using STDIN
When PC-DOS started to support subdirectories in version 2.0, they ignored the subdirectory part while checking for device names. So you could still just save to "prn.txt" in any subdirectory and have your data printed. In the name of "backward compatibility" this behavior is still present in Windows today.
|
|---|