可以批量阿拉伯数字序列命名的文件

Posted notfound945 的博客

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了可以批量阿拉伯数字序列命名的文件相关的知识,希望对你有一定的参考价值。

@echo off 
title VOL Md folders   Power By notfound945
color 4f
echo.
echo This is a small bat to new folders names in order.
echo.
echo Now, Please enter initial value.
echo.
set/p start=Please enter:__
echo.
echo Thank you. Now please enter increment value.
echo.
set/p incr=Please enter:__
echo.
echo Thank you. Now please enter end value.
echo.
set/p end=Please enter:__
echo.
echo Now all values were set.
echo.
echo Please press any key to start
pause>nul
for /l %%i in (%start%,%incr%,%end%) do md %%i
echo.
echo Now all of the procedures are complited corectlly.
pause>nul
:enter
echo.
echo Do you want to delete there folders just now ^?
set/p choice=Please enter ^< y/n ^> :
if %choice%==n goto exit
if %choice%==N goto exit
if %choice%==y goto delete
if %choice%==Y goto delete
cls
echo.
echo Please read caseful.
echo.
echo Press any key to tryagain ...
pause>nul
cls
goto enter

:delete
echo.
echo Press any key to delete.
pause>nul
for /l %%i in (%start%,%incr%,%end%) do rd /q %%i
echo.
echo OK. All folders were deleted a moment ago.
echo.
echo Please press any key to exit
pause>nul
exit

:exit
echo.
echo All folders were reserved a moment ago.
echo.
echo Please press any key to exit.
pause>nul

这个是

以上是关于可以批量阿拉伯数字序列命名的文件的主要内容,如果未能解决你的问题,请参考以下文章

如何批量在多个文件前面添加名称或者数字?

如何批量重命名带有序列号的照片文件夹中的文件

批量创建用户与批量文件重命名

bash 通过添加数字批量重命名文件

.bat 用于批量重命名以增加 fname 中的数字

excel批量修改文件名