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 04:59
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » [Help] ----Moderators and experts, please help!! View 543 Replies 2
Original Poster Posted 2003-10-10 00:00 ·  中国 辽宁 大连 联通
初级用户
Credits 188
Posts 24
Joined 2003-05-31 00:00
23-year member
UID 2689
Gender Male
Status Offline
Question: how can I output the screen contents to a text file under pure DOS? For example, how can I output some of the prompt messages shown when the system is loading drivers at startup into a text file?
(Not the content shown by dir. I seem to remember it was done with the type command... but I tried several times and all failed. Please enlighten me, experts.
Thanks again!
Floor 2 Posted 2003-10-10 00:00 ·  中国 浙江 温州 电信
中级用户
Credits 217
Posts 23
Joined 2003-08-24 00:00
22-year member
UID 9110
Gender Male
Status Offline
echo hello>1.txt
type sn.txt >1.txt
Is this it?
Floor 3 Posted 2003-10-14 00:00 ·  中国 辽宁 大连 联通
初级用户
Credits 188
Posts 24
Joined 2003-05-31 00:00
23-year member
UID 2689
Gender Male
Status Offline
Hehe, that's not right, is it? Can that output some of the prompt messages shown when the system is loading drivers at startup into a text file?
Forum Jump: