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, 29.07.2009, 23:45

> Does the command.com load with parameters, when loading from autoexec.bat?

The command line interpreter can't be loaded from AUTOEXEC.BAT.

The COMSPEC variable, which can be set in AUTOEXEC.BAT or in some DOS versions in CONFIG.SYS, only points to the file to use to reload a part of the program when it's necessary. Because of this, COMSPEC mustn't be followed by any parameters.

Setting COMSPEC in AUTOEXEC.BAT doesn't mean you have to remove the "SHELL=..." line in CONFIG.SYS.

---
l

 

Complete thread:

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