跳至内容
九溪
溪水润知林,滴露启慧心
用户工具
登录
站点工具
搜索
工具
显示页面
过去修订
反向链接
最近更改
媒体管理器
网站地图
登录
>
最近更改
媒体管理器
网站地图
您在这里:
Home
»
知识标签
»
Windows
»
Windows 批处理 遍历文件列表内容
您的足迹:
•
archive
wiki:windows:windows-bat-for-filelist
本页面只读。您可以查看源文件,但不能更改它。如果您觉得这是系统错误,请联系管理员。
====== Windows 批处理 遍历文件列表内容 ====== 待处理内容在 list.txt 中 <code batch deal.bat> @echo off setlocal enabledelayedexpansion set fileList=list.txt set /a copyCount=0 for /f "delims=" %%l in (%fileList%) do ( set /a copyCount+=1 echo dealing %%l rem 这里写执行语句 rem echo "for /r %sourcePath%\%%l in (%%a*) do xcopy %%a %targetPath% /y" echo. ) echo Total num is %copyCount%. echo Work is done. echo. pause </code>
wiki/windows/windows-bat-for-filelist.txt
· 最后更改: 2023/01/03 15:25 由
127.0.0.1
页面工具
显示页面
过去修订
反向链接
回到顶部