autoexec.bat & config.sys

GEC: Discuss gaming, computers and electronics and venture into the bizarre world of STGODs.

Moderator: Thanas

Post Reply
User avatar
Rye
To Mega Therion
Posts: 12493
Joined: 2003-03-08 07:48am
Location: Uighur, please!

autoexec.bat & config.sys

Post by Rye »

Writing them into an operating systems essay and this is all I can think of so far:
Autoexec is what’s called a batch file, a file that runs other files & programs as part of it’s programming. It’s this running of a “batch” of otherwise not connected programs, that makes them so useful. Autoexec.bat is automatically executed by the computer every time you turn it on.
Config.sys is a system file that configures the various programs run by the autoexec.bat. Essentially it tells them how to interact with the hardware .
But I should probably expand upon that. Thoughts on how?
EBC|Fucking Metal|Artist|Androgynous Sexfiend|Gozer Kvltist|
Listen to my music! http://www.soundclick.com/nihilanth
"America is, now, the most powerful and economically prosperous nation in the country." - Master of Ossus
User avatar
Seggybop
Jedi Council Member
Posts: 1954
Joined: 2002-07-20 07:09pm
Location: USA

Post by Seggybop »

Config.sys used to run before autoexec.bat. It would load things like drivers into memory, but not directly execute any programs.
my heart is a shell of depleted uranium
User avatar
Slartibartfast
Emperor's Hand
Posts: 6730
Joined: 2002-09-10 05:35pm
Location: Where The Sea Meets The Sky
Contact:

Post by Slartibartfast »

Yeah the part about CONFIG configuring the stuff from AUTOEXEC isn't true.
It defines things like settings (where to load high memory, last drive letter, number of buffers/open files) for the OS itself, AND it can load programs itself - usually drivers, like your CDrom, memory manager, etc.

Config is used for system critical stuff, autoexec is just a way to save time without having to type "doskey", "keyb xx", "mouse", "mscdex.exe" every time you reboot.
Image
User avatar
Rye
To Mega Therion
Posts: 12493
Joined: 2003-03-08 07:48am
Location: Uighur, please!

Post by Rye »

Well thank fuck I didn't hand that in. Thanks.
EBC|Fucking Metal|Artist|Androgynous Sexfiend|Gozer Kvltist|
Listen to my music! http://www.soundclick.com/nihilanth
"America is, now, the most powerful and economically prosperous nation in the country." - Master of Ossus
User avatar
Mad
Jedi Council Member
Posts: 1923
Joined: 2002-07-04 01:32am
Location: North Carolina, USA
Contact:

Post by Mad »

You could be more specific on batch files, as well.

Batch files basically consist of series of commands (a "batch") that could be typed on the command line manually and have the same effect. For things that have to be done often (such as to set up the environment before running certain applications), it's nice to have everything automated (and maybe even run the application automatically as the last command in the batch).

Since some settings have to be used each time the computer boots up, having a batch file run those commands automatically is very nice, hence the name autoexec.bat.
Later...
Post Reply