中国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 07:56
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS学习入门 & 精彩文章 (教学室) » Ask: How to use DOS commands to edit the content of a txt (replace, modify, save)
Printable Version  1,939 / 5
Floor1 fifizzb Posted 2007-06-24 17:41
新手上路 Posts 4 Credits 12
How can experts use DOS to modify the content in a TXT file? For example: 1. I want to modify the content in a certain TXT file and then save it. 2. I want to replace the characters in a certain line of a TXT file with the characters in a certain line of another TXT file.
Floor2 Michael Posted 2007-06-24 17:58
钻石会员 Posts 3,041 Credits 10,056
edit aaa.txt modify, edit, save, OK.
Floor3 Michael Posted 2007-06-24 17:59
钻石会员 Posts 3,041 Credits 10,056
notepad aaa.txt, modify, edit, save, OK.
Floor4 fifizzb Posted 2007-06-24 22:17
新手上路 Posts 4 Credits 12
Can it be done completely under DOS? That is, use DOS commands to find a certain sentence in a.txt, and then use this sentence to replace a certain sentence in the b.txt file, all completed under the DOS batch processing.
Floor5 genesis Posted 2007-08-08 04:34
新手上路 Posts 3 Credits 6
You're welcome!
Floor6 genesis Posted 2007-08-08 04:35
新手上路 Posts 3 Credits 6
Thank you so much!!!
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023