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