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-07-29 09:01
中国DOS联盟论坛 » 论坛回收站 » Suits taste for experts View 1,946 Replies 0
Original Poster Posted 2010-09-06 10:11 ·  中国 重庆 云阳县 电信
新手上路
Credits 1
Posts 1
Joined 2010-03-17 11:05
16-year member
UID 162379
Gender Male
Status Offline
Dear all experts:

How to make a batch file to achieve the following function. There are hundreds of TXT files in a folder, but several characters in the first 10 lines of each TXT file need to be replaced, and the content of all subsequent lines remains unchanged.

The volume of each TXT file is relatively large, probably several thousand lines (NC machining post-processing program)

How to achieve it.
Forum Jump: