中国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-12 07:56
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS批处理 & 脚本技术(批处理室) » How to batch-read the required versions from 1.txt, find them, and copy them.
Printable Version  725 / 1
Floor1 lmm Posted 2010-06-13 21:49
新手上路 Posts 17 Credits 17
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)
Floor2 Hanyeguxing Posted 2010-06-13 23:57
银牌会员 Posts 897 Credits 1,039 From 在地狱中仰望天堂
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023