Just some old trivia floating around in an old programmers head...
On 4/14/05, Michael Scott <[EMAIL PROTECTED]
> wrote:
Quoting kdf <[EMAIL PROTECTED] >:
>> > Can't you use NUL? Thats the equiv of /dev/null for Windows. It
> > exists in every directory as a hidden special file.
>
> That's the first I've ever heard of it, aside from being a constant.
> Does it take redirects?
Yup. It's something else Microsoft "borrowed" from CP/M, who no doubt got it
from another OS
NUL = Null device
CON = Console (keyboard/display)
PRN = Printer
All accept redirects. And the ability to redirect sterror (2>) works with, I
believe, NT and above. Win9x/Me may still be too DOSsy for this.
----------------------
- Mike Scott
- [EMAIL PROTECTED]
_______________________________________________
Discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss
--
Do meddle in the affairs of Dragons,
for you are crunchy and good with Tabasco.
_______________________________________________ Discuss mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/discuss
