登录
上传中....
将目录下的文件按扩展名分类的bat代码
%~xi - 仅将 %i 扩展到一个文件扩展名只打印文件的扩展名for /f "delims==" %%i in ('dir /b') do @echo %%~xipause