欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

批量新建数字文件夹.bat

程序员文章站 2022-06-04 08:52:58
...
% [email protected] %
@echo off

set /p start=请输入起始数:
set /p count=请输入新建文件夹数量:
set /a end=%start%+%count%

md %start%-%end%
for /l %%i in (%start%, 1, %end%) do md %start%-%end%\%%i

pause
相关标签: 批处理