Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

loading of command.com (Users)

posted by ecm Homepage E-mail, Düsseldorf, Germany, 30.07.2009, 08:50

> Variant of this trick use various file managers like Norton commander. In
> this case you can by specifying the COMSPEC variable define which
> secondary shell will be used.
>
> However I am not sure whether secondary shell completely overtakes the
> work of the primary command interpretter or if they work together in some
> way.

This only works with file managers or other programs that "shell to DOS" by actually executing the file specified as COMSPEC. The resident part of COMMAND.COM however reloads its transient part from that file so you can't load another shell by setting COMSPEC to a "wrong" file (which doesn't contain the transient part of the running COMMAND.COM), unless the new shell is compatible to the running COMMAND.COM. Pointing COMSPEC to a wrong file might raise an error if the running shell tries to use that file.

---
l

 

Complete thread:

Back to the forum
Board view  Mix view
22752 Postings in 2119 Threads, 402 registered users (1 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum