【发布时间】:2012-10-17 09:36:15
【问题描述】:
我是 Windows 脚本的绝对初学者,我需要执行以下操作:(
for /f %%f in '..\dir\'
# Create a text file titled '\dir\filename.bat', containing " xxxx <filename> xxxx"
完成后,我将运行同时创建的所有批处理文件
cd ..\dir
for /f %%f in * do
start cmd.exe /C '%%f.bat'
如果有人能告诉我如何进行文件创建部分并验证其余代码,我将不胜感激。
【问题讨论】:
-
这看起来很像家庭作业。你到底想达到什么目的?
标签: windows scripting batch-file cmd