Arkady wrote:

AVB>  You forget that Eric explains, that loop is also present in DEBUG' PSP.

AVB>PS: Don't forget, that under command.com may be runned another "command /p",
AVB>or other shell (like NDOS/4DOS).

  Well, I did not forget anything. I just described the method as it was in
 the reference I quoted. The author mentions that the case of a second
 permanent shell may happen, but says it is too unlikely.
 Another point is that DOS usually loads programs upwards from the bottom of
 the memory, so the first parent-less process one finds is probably the primary 
 shell. Anyway, I think there is no 100% reliable way of finding the primary
 shell in DOS other than INT 2E.
      
 JAS
 



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to