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 23:58
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » Using DOS commands to copy part of a text file into another text file View 682 Replies 2
Original Poster Posted 2003-09-12 00:00 ·  中国 河北 唐山 联通
初级用户
Credits 103
Posts 1
Joined 2003-09-12 00:00
22-year member
UID 9751
Gender Male
Status Offline
How can I use DOS commands to copy part of the contents of a text file into another text file? What command should I use?
Floor 2 Posted 2003-09-12 00:00 ·  中国 福建 福州 电信
元老会员
★★★
农民
Credits 2,903
Posts 991
Joined 2003-07-23 00:00
23-year member
UID 7391
Gender Male
From 福建省
Status Offline
It seems there isn't such a command...
艰难奋长戟,万古用一夫

中国DOS联盟 http://www.cn-dos.net 欢迎大家来共同学习
我的MSN&E-Mail cn_archer@hotmail.com QQ 56049418
Floor 3 Posted 2003-09-13 00:00 ·  中国 福建 宁德 电信
初级用户
Credits 263
Posts 35
Joined 2003-08-10 00:00
23-year member
UID 8334
Gender Male
Status Offline
type 1.txt>>2.txt can only copy and append all of 1.txt to the end of 2.txt; there's no way to do just part of the contents
Forum Jump: