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-12 19:43
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » [Help] What is a text editor, experts? View 1,771 Replies 6
Original Poster Posted 2003-07-19 00:00 ·  中国 上海 杨浦区 电信
中级用户
Credits 235
Posts 26
Joined 2003-06-13 00:00
23-year member
UID 5054
Gender Male
Status Offline
What is a text editor? Where can I find one? How do I open it? Can it be opened under pure DOS?
Also, I made a Ghost backup. The program is located at E/Ghost, and the image file is saved at E/Ghost. Then there is a BF file in the C drive directory. How do I restore it under DOS? What is the command?

I'm a newbie, so when explaining the restore process, please try to write it as clearly as possible, experts.
Floor 2 Posted 2003-07-20 00:00 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
23-year member
UID 7105
Gender Male
Status Offline
The first one is fairly simple, so I'll take it.
In Windows it's Notepad, under Start\Programs\Accessories\Notepad. Or search for wordpad and open it.
In DOS, type EDIT > and you can edit it. Or just type EDIT> and a window will appear, then you can edit it. When you're done, use the mouse to click FILE at the upper left of the window, press SAVE to save, then press EXIT to quit.
Floor 3 Posted 2003-07-20 00:00 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
23-year member
UID 7105
Gender Male
Status Offline
Sorry, a correction:
Under pure DOS, there is no mouse, press CTRL+ALT+DEL to enter FILE at the upper left of the window (inside are SAVE and EXIT)
Floor 4 Posted 2003-07-20 00:00 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
23-year member
UID 7105
Gender Male
Status Offline
Another correction
The above wordpad (WordPad) should be notepad (Notepad). It can also be opened by typing notepad in Start\Run.
Floor 5 Posted 2003-07-20 00:00 ·  中国 上海 黄浦区 电信
中级用户
Credits 235
Posts 26
Joined 2003-06-13 00:00
23-year member
UID 5054
Gender Male
Status Offline
The following is quoted from GOTOmsdos at 2003-7-20 14:38:01:
Sorry, a correction:
Under pure DOS, there is no mouse, press CTRL+ALT+DEL to enter FILE at the upper left of the window (inside are SAVE and EXIT)

Can you press CTRL+ALT+DEL under pure DOS? There is no window in DOS, right?
Floor 6 Posted 2003-08-02 00:00 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
23-year member
UID 7105
Gender Male
Status Offline
I was wrong, it should be the Alt key. After pressing it, an edit window will appear. Try it, it's correct!
Floor 7 Posted 2003-08-04 00:00 ·  中国 湖北 武汉 联通
银牌会员
★★★
Credits 1,681
Posts 512
Joined 2003-08-02 00:00
23-year member
UID 7953
Gender Male
Status Offline
Two even simpler methods:
1. Echo method
Echo xxx >filename
Echo xxx >>filename
...
New line: Echo. >>filename

2. Copy method
Copy con filename
xxx
F6 or Ctrl+Z to quit
Somehow somewhere I've got to choose.
No matter if it is win or lose.
Forum Jump: