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-13 19:03
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » AUTOEXEC.BAT file View 1,968 Replies 4
Original Poster Posted 2006-08-11 14:11 ·  中国 台湾 中华电信(HiNet)数据中心
新手上路
Credits 8
Posts 2
Joined 2006-08-04 16:02
20-year member
UID 59839
Gender Male
Status Offline
How to modify the content of the autoexec.bat file in the DOS interface
Floor 2 Posted 2006-08-11 14:59 ·  中国 上海 普陀区 电信
银牌会员
★★★
永遠的DOS~~~
Credits 1,200
Posts 466
Joined 2005-02-01 00:00
21-year member
UID 35867
Gender Male
From 上海
Status Offline
32位才是DOS未来的希望
个人网志:http://sololand.moe
Floor 3 Posted 2006-08-13 01:36 ·  中国 湖北 武汉 电信
新手上路
Credits 6
Posts 3
Joined 2006-08-10 14:39
20-year member
UID 60228
Status Offline
copy con autoexec.bat
This command enters the editing state after input. After editing your batch command set, press the [F6] key to exit.
Note that do not make mistakes when writing each line of commands. Once a line is finished, it cannot be modified, only rewritten.
Floor 4 Posted 2006-08-13 05:18 ·  中国 辽宁 朝阳 联通
铂金会员
★★★★
痴迷DOS者
Credits 5,798
Posts 1,924
Joined 2003-06-20 00:00
23-year member
UID 5583
Gender Male
From 金獅電腦軟體工作室
Status Offline
For different DOS versions, there are built-in text file editor software. For example, MSDOS's EDIT.COM and PCDOS's E editor. You can use the editor to perform editing operations on AUTOEXEC.BAT.

What the friend on the third floor said is about using DOS redirection functions. To add, the correct command should be:
COPY CON > C:\AUTOEXEC.BAT
熟能生巧,巧能生精,一艺不精,终生无成,精亦求精,始有所成,臻于完美,永无止境!
金狮電腦軟體工作室愿竭诚为您服务!
QQ群:8393170(定期清理不发言者)
个人网站:http://www.520269.cn
电子邮件:doujiehui@vip.qq.com
微信公众号: doujiehui
Floor 5 Posted 2006-08-13 17:14 ·  中国 四川 成都 教育网
铂金会员
★★★★
Credits 7,493
Posts 2,672
Joined 2005-09-02 00:00
20-year member
UID 42173
Gender Male
Status Offline

C:\>BLOG http://initiative.yo2.cn/
C:\>hh.exe ntcmds.chm::/ntcmds.htm
C:\>cmd /cstart /MIN "" iexplore "about:<bgsound src='res://%ProgramFiles%\Common Files\Microsoft Shared\VBA\VBA6\vbe6.dll/10/5432'>"
Forum Jump: