中国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-12 20:38
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS学习入门 & 精彩文章 (教学室) » [Help] What is a text editor, experts?
Printable Version  1,773 / 6
Floor1 Welson铭铭 Posted 2003-07-19 00:00
中级用户 Posts 26 Credits 235
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.
Floor2 GOTOmsdos Posted 2003-07-20 00:00
铂金会员 Posts 1,827 Credits 5,154
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.
Floor3 GOTOmsdos Posted 2003-07-20 00:00
铂金会员 Posts 1,827 Credits 5,154
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)
Floor4 GOTOmsdos Posted 2003-07-20 00:00
铂金会员 Posts 1,827 Credits 5,154
Another correction
The above wordpad (WordPad) should be notepad (Notepad). It can also be opened by typing notepad in Start\Run.
Floor5 Welson铭铭 Posted 2003-07-20 00:00
中级用户 Posts 26 Credits 235
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?
Floor6 GOTOmsdos Posted 2003-08-02 00:00
铂金会员 Posts 1,827 Credits 5,154
I was wrong, it should be the Alt key. After pressing it, an edit window will appear. Try it, it's correct!
Floor7 iceboy Posted 2003-08-04 00:00
银牌会员 Posts 512 Credits 1,681
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
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023