China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-07-23 02:46
中国DOS联盟论坛 » DOS启动盘 & LOGO技术 (启动盘室) » Is there any difference between loading programs in config.sys and autoexec.bat? View 1,419 Replies 2
Original Poster Posted 2009-01-23 11:27 ·  中国 河北 沧州 电信
初级用户
Credits 61
Posts 19
Joined 2006-08-28 21:39
19-year member
UID 61479
Status Offline
Is there any difference between loading programs in config.sys and autoexec.bat?
Can I do without autoexec.bat?
For example, if autoexec.bat has the following:

CTMOUSE
SMARTDRV.EXE
GHOST -clone,mode=pdump,src=1:3,dst=SYSTEM.GHO -z9 -sure -rb

Can these be written into config.sys?

DEVICE=CTMOUSE
DEVICE=SMARTDRV.EXE
DEVICE=GHOST -clone,mode=pdump,src=1:3,dst=SYSTEM.GHO -z9 -sure -rb
Floor 2 Posted 2009-01-24 17:47 ·  中国 甘肃 兰州 电信
初级用户
Credits 32
Posts 8
Joined 2007-08-22 16:07
18-year member
UID 95613
Gender Male
From Lanzhou
Status Offline
If you write it like that in config.sys, you should use install= instead of device=
And you also have to write out the full names, including the .exe
Floor 3 Posted 2009-02-03 18:50 ·  中国 上海 东方有线
新手上路
Credits 6
Posts 3
Joined 2009-02-02 18:15
17-year member
UID 137861
Gender Male
Status Offline
DEVICE is for memory management under DOS and for loading device drivers, used to activate devices (such as CD-ROM drives, USB, etc.).

autoexec.bat is a bundled set of commands for using application programs (run automatically), to avoid entering commands by hand. (For example: BIOS and FIRMWARE flashing under DOS, etc.), mainly aimed at “newbies, beginners”.
Forum Jump: