使用批处理文件移动特定数量的文件
需要一些批处理脚本的帮助,该脚本允许我将循环中的特定数量的文件移动到一个创建的新文件夹结构中,该结构遵循一个指定新文件夹编号附加的 Excel 文件(.1,2,3,4,5, 6,7...),第二列中有相应数量的要移动的帧(121,100,44,33...)。
文件名的语法是相同的,只是单元格填充的数量递归增加 例如: another000001.dpx、another000002.dpx、another000003.dpx 等
第一个生成的文件夹应具有类似 Shot1 的名称,并且 121 个文件应移动到从 excel 读取的新文件夹中 第二个文件夹应命名为 Shot2,并且应将 100 个文件从 Excel 的顶部读取移动到新文件夹 等等...
有人帮忙吗?
Need some help with a batch script that will allow me to move a specific number of files in a loop to a created new folder structure following an excel file which specifics the new folder number append (. 1,2,3,4,5,6,7...) and in the second column has the corresponding number of frames to be moved (121,100,44,33...).
The syntax of the file names are the same, just with the number of cell padding recursively increasing
Eg:
another000001.dpx, another000002.dpx, another000003.dpx etc
The first generated folder should have a name like Shot1 and 121 files should be moved to the new folder reading from the excel
The second folder should be named Shot2 and 100 files should be moved to the new folder from the top reading from the excel
And so on...
Someone help?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好吧,要求任何人为你写这个都太过分了,但你可以从这个开始:
Well, thats too much to ask of anyone to write that for you but you could start with this: