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-08-19 05:46
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » How to remove the date and time prompts after FreeDOS starts View 1,110 Replies 2
Original Poster Posted 2008-03-19 21:45 ·  中国 江苏 苏州 电信
新手上路
Credits 12
Posts 5
Joined 2007-07-31 19:07
19-year member
UID 94386
Gender Male
Status Offline
As the title says, every time the system starts up, it asks for input. Although you can skip it by pressing Enter, it still feels annoying, because not that many people need to adjust the date and time every single time. So I want to ask, is there any way to remove these two prompts and go straight to the command prompt interface after startup?
Floor 2 Posted 2008-03-19 23:47 ·  中国 河北 保定 移动
铂金会员
★★★★
网络独行侠
Credits 6,962
Posts 2,753
Joined 2003-04-16 00:00
23-year member
UID 1565
Gender Male
From 河北保定
Status Offline
Put an empty autoexec.bat, or one you need, in the root directory of the disk.

Not sure if this is the case, since I haven't used FreeDOS, but this method basically works for traditional DOS, so FreeDOS should probably follow this unwritten rule too.
偶只喜欢回答那些标题和描述都很清晰的帖子!
如想解决问题,请认真学习“这个帖子”和“这个帖子”并努力遵守,如果可能,请告诉更多的人!
Floor 3 Posted 2008-03-20 10:46 ·  中国 江苏 苏州 电信
新手上路
Credits 12
Posts 5
Joined 2007-07-31 19:07
19-year member
UID 94386
Gender Male
Status Offline
It really does work, thanks for the answer from the poster above. Because when I looked at the FreeDOS floppy disk image, there was no Autoexec.bat file in it, so I never thought of that.
Forum Jump: