Batch bat files by extension

Time:2021-9-14

Sort by extension.bat

Copy codeThe code is as follows:
for %%i in (*) do (md %%~xi 
move *%%~xi %%~xi) 
pause