cd /d 有个文件夹for /d %%i in (*) do echo %%i
for /d %i in (条件) do 干什么 %i 例如在每个一级文件夹下建立一个空文本文件:for /d %i in (*) do copy nul a.txt %i