Tom is absolutely correct.  You are trying to change the attributes of Device 0 
(STDIN) to 0 (so that is it is not really even a device any more).  After that, 
for all practical purposes, you have disabled the computer.

Apparently, FreeDOS doesn't see this as a problem (it assumes you know what you 
are doing) but other DOS versions know this will cause problems and 
automatically reject your request.

I personally can't think of a good reason to ever want to change a devices 
attributes, but there may be some special case I can't see right now.  But I 
can see no reason to ever change the attributes of any standard device (STDIN, 
STDOUT, STDERR, etc.).


_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to