循环执行Dos批处理文件 [英] Looping in Dos Batch Files

查看:173
本文介绍了循环执行Dos批处理文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
在此先感谢

Hi All,
Thanks in advance

SET "FILES ="
 For /R %%A In (%FileList%) Do (
 Call SET "FILES= %%A"
 echo.%FILES%
 )



%FileList%是文件的集合,我想在另一个变量中一个接一个地获取文件.

任何人都知道然后让我知道,谢谢.



%FileList% is collection of files, I want to get the file one by one in another variable.

any one know then let me know , thanks.

推荐答案

这可能会帮助您...

http://superuser.com/questions/191224/populating-array-in-dos-批处理脚本 [ ^ ]

HTH ...
This will probably help you...

http://superuser.com/questions/191224/populating-array-in-dos-batch-script[^]

HTH...


这篇关于循环执行Dos批处理文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆