Computing.Net > Forums > Disk Operating System > Which file loads first Command.com or Config.sys?

Which file loads first Command.com or Config.sys?

Reply to Message Icon

Original Message
Name: Tim R
Date: April 20, 2000 at 15:39:32 Pacific
Subject: Which file loads first Command.com or Config.sys?
Comment:

Please Help and include references if you can.

Thank you.

CCC PCtech Class


Report Offensive Message For Removal


Response Number 1
Name: Michael Robertson
Date: April 20, 2000 at 19:23:49 Pacific
Subject: Which file loads first Command.com or Config.sys?
Reply: (edit)

During boot, MS-DOS looks for config.sys, which, with the SHELL command, can change the command processor. Therefore, you could say that config.sys loads first. Without the SHELL command, command.com will load by default. I use 4dos.com as my command interpreter. Of course, config.sys is not required.


Report Offensive Follow Up For Removal

Response Number 2
Name: The Pirate
Date: April 21, 2000 at 00:10:39 Pacific
Subject: Which file loads first Command.com or Config.sys?
Reply: (edit)

Nuffa fucka who guesses! Next time indicate if an OS is installed!

At the end of POST, Booting begins and files are loaded in the following order:

io.sys MBR/system
msdos.sys MBR/system
config.sys OS

command.com MBR/system
autoexec.bat OS

user-created batch files

Source:
Ping

Search "The POST Process"


Report Offensive Follow Up For Removal

Response Number 3
Name: ~
Date: April 21, 2000 at 07:22:43 Pacific
Subject: Which file loads first Command.com or Config.sys?
Reply: (edit)

Do your own homework!


Report Offensive Follow Up For Removal

Response Number 4
Name: sherlocks
Date: April 25, 2000 at 12:53:19 Pacific
Subject: Which file loads first Command.com or Config.sys?
Reply: (edit)

BOOT SEQUENCE
loading of files takes place in the following order
io.sys
msdos.sys
command.com
config.sys
autoexe
hence, command.com loads first and then config.sys


Report Offensive Follow Up For Removal

Response Number 5
Name: Grant
Date: April 30, 2000 at 02:22:14 Pacific
Subject: Which file loads first Command.com or Config.sys?
Reply: (edit)

NOTE: This info comes from "The MS-DOS Encyclopedia" pages 74-76. Hope that you won't argue w/ it, here goes, don't complain it's long... SYSINIT is what MS-DOS calls the bootloader in MSDOS.SYS
SYSINIT next attempts to open the CONFIG.SYS file in the root directory of the boot drive. If the file does not exist, SYSINIT uses the default system parameters; if the file is opened, SYSINIT reads the entire file into high memory and converts all characters to uppercase. The fiel contents are then processed to determins such settings as the number of disk buffers, the number of entries in the file tables, and the number of entries in the drive translation table (depending on the specific commands in the file), and the structures are allocated following the MS-DOS kernel.
SYSINIT processes the CONFIG.SYS text sequentially...
SYSINIT's last function is to load and execute the shell program by using the MS-DOS EXEC function. The SHELL statement in CONFIG.SYS specifies both the name of the shell program and its inital parameters; the default MS-DOS shell is COMMAND.COM...

And if we can agree that IO.SYS is executetd before MSDOS.SYS we can agree that the true order according to Microsoft is IO.SYS, MSDOS.SYS, CONFIG.SYS, COMMAND.COM (SHELL)


Report Offensive Follow Up For Removal


Response Number 6
Name: Marcin Mirski
Date: July 4, 2000 at 16:22:45 Pacific
Subject: Which file loads first Command.com or Config.sys?
Reply: (edit)

How would one go about getting DOS 8 to boot off of drive D:? Is it at all possible?


Report Offensive Follow Up For Removal






Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Which file loads first Command.com or Config.sys?

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




How often do you use Computing.Net?

Every Day
Once a Week
Once a Month
This Is My First Time!


View Results

Poll Finishes In 2 Days.
Discuss in The Lounge