Windows Batch从列表创建.txt [英] Windows Batch to create .txt from a list

查看:38
本文介绍了Windows Batch从列表创建.txt的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在.txt中编译了一个网络流列表

I have compiled a list of webstreams in a .txt

例如List.txt

E.g.. List.txt

要创建的新.txt的标题

title of new .txt to be created

新.txt的内容

要创建的新.txt的标题

title of new .txt to be created

新.txt的内容

我只能使用创建.txts

I was only able to create the .txts using

for /f "delims=" %F in (filenames.txt) do copy nul "%F".txt

与本网站上的其他人相比,我的编程经验非常有限.谢谢

I have very limited programming experience compared to others on this site. Thank you

推荐答案

感谢Squashman.

Thanks Squashman.

对于/f"tokens = 1 * delims =",(filenames.txt)中的%F会回显%G>%F.txt"

像黄油一样工作.

这篇关于Windows Batch从列表创建.txt的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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