中国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-04 20:28
48,038 topics / 350,123 posts / today 0 new / 48,251 members
DOS批处理 & 脚本技术(批处理室) » Help with partially batch-copying text documents
Printable Version  719 / 2
Floor1 xuehui0000 Posted 2007-05-27 22:39
新手上路 Posts 2 Credits 6
I have many text documents, “testi.txt” (i=1:n). In all the text documents there is one unique characteristic string, for example “machine parameter”. I want to copy everything from this characteristic string to the end of the document into another text document (including the characteristic string itself), and not keep anything before the characteristic string. I want to make this into a batch file under DOS, please help!!
Thanks, everyone!!
Floor2 lxmxn Posted 2007-05-27 23:52
版主 Posts 4,938 Credits 11,386

#Sed download post #17
http://www.cn-dos.net/forum/viewthread.php?tid=30573
Floor3 xuehui0000 Posted 2007-05-28 17:39
新手上路 Posts 2 Credits 6
Many thanks indeed, moderator :P
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023