![](/img/trans.png)
[英]executing a batch file into a new command window using windows task schedular
[英]Reading file content using windows batch file and executing a command
它看起来像重复的问题,但事实并非如此。
我有两个档案
我尝试了以下命令,但没有任何效果。
For /F "eol=*"%%G in ("c:\temp\users.txt") do @echo %%G
我在这里想念什么吗?
我的输出应显示user1,user2,user3
您引用路径,因此假定迭代位于文字字符串而非文件之上,只需删除它们:
For /F "eol=* "%%G in (c:\temp\users.txt) do @echo %%G
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.