DOS Shell 批量创建空文件

@echo off
::修改路径 在 c:\temp 文件夹下创建空文本文件 index.html, 包括所有子文件夹。
set 路径= c:\temp
for /r %路径% /d %%i in (*)do fsutil file createnew "%%i\index.html" 0 pause

 

posted @ 2023-10-09 15:05  物华天宝关耳  阅读(88)  评论(0)    收藏  举报