中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-13 18:07
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS学习入门 & 精彩文章 (教学室) » AUTOEXEC.BAT file
Printable Version  1,967 / 4
Floor1 agood2003 Posted 2006-08-11 14:11
新手上路 Posts 2 Credits 8
How to modify the content of the autoexec.bat file in the DOS interface
Floor2 brglng Posted 2006-08-11 14:59
银牌会员 Posts 466 Credits 1,200 From 上海
Floor3 hardysant Posted 2006-08-13 01:36
新手上路 Posts 3 Credits 6
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.
Floor4 Kinglion Posted 2006-08-13 05:18
铂金会员 Posts 1,924 Credits 5,798 From 金獅電腦軟體工作室
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
Floor5 electronixtar Posted 2006-08-13 17:14
铂金会员 Posts 2,672 Credits 7,493
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023