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 07:02
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » How to batch-read the required versions from 1.txt, find them, and copy them. View 723 Replies 1
Original Poster Posted 2010-06-13 21:49 ·  中国 江西 南昌 电信
新手上路
Credits 17
Posts 17
Joined 2009-08-01 05:44
17-year member
UID 149696
Gender Male
Status Offline
The batch file I wrote:
set aa=F-CTIE V2.18.01.6
for /r f:\as %%m in ("* %a%*") do if exist %%m copy"%%m" "d:\2008\"
set aa=
pause
(The above batch file only works by constantly changing the aa value.) Is there any way to find all the versions I need at one time?
The contents of 1.txt are:
F-CTIE V2.18.01.6
F-CTIE V2.18.01.7
F-CTIE V2.18.02.9
F-CTIE V3.19.01.5
F-GTCG V1.9.00.0
.........................(there are N of them)
Floor 2 Posted 2010-06-13 23:57 ·  中国 吉林 延边朝鲜族自治州 延吉市 电信
银牌会员
★★★
正在学习中的菜鸟...
Credits 1,039
Posts 897
Joined 2009-03-01 15:34
17-year member
UID 140302
Gender Male
From 在地狱中仰望天堂
Status Offline
Recent Ratings for This Post ( 1 in total) Click for details
RaterScoreTime
lmm +1 2010-06-14 07:56
Forum Jump: