批处理命令在所有盘中寻找一个文件夹然后在这个文件夹下创建文件夹

2024-11-27 10:55:25
推荐回答(1个)
回答(1):

for /r C:\ %%i in (123) do if exist %%i md %%i\456\
for /r D:\ %%i in (123) do if exist %%i md %%i\456\
for /r E:\ %%i in (123) do if exist %%i md %%i\456\
for /r F:\ %%i in (123) do if exist %%i md %%i\456\
for /r G:\ %%i in (123) do if exist %%i md %%i\456\