中国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 08:18
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS学习入门 & 精彩文章 (教学室) »
Printable Version  1,281 / 2
Floor1 skywindows Posted 2004-01-05 00:00
初级用户 Posts 12 Credits 159
I want to ask something.
Under DOS, how do you create a file with the extension txt? And write data into it?
If anyone knows, I hope you can tell me. Many thanks!
Floor2 极地银狐 Posted 2004-02-06 00:00
初级用户 Posts 9 Credits 147
In DOS, type edit, and you'll enter the editing interface. Enter the content there, press Alt+f, press the arrow key down, choose save, and give it a filename, then that's it!
Floor3 Kinglion Posted 2004-02-07 00:00
铂金会员 Posts 1,924 Credits 5,798 From 金獅電腦軟體工作室
You can choose any text file editing software to create a file with the TXT extension and enter content into it. Just as the poster above said, creating a TXT file and entering content is not difficult. If you do not have any editing software, you can even use the DOS internal command COPY to do it. A specific example is as follows: (suppose you want to create the file A.TXT)
At the command prompt, type: COPY CON A.TXT
Enter the content you want to input: ...........
Press the F6 key or CTRL + Z key to save the file A.TXT to disk.

If there is anything inappropriate, please correct me!
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023