本帖最后由 went 于 2022-4-28 08:49 编辑
- @echo off & cd /d "%~dp0"
- for /f "delims=" %%i in ('dir /b /ad ^| findstr /ve /C:"_batch"') do (
- for /d %%a in ("%%i\*") do (
- for %%b in ("%%a\*_batch.mp4") do (
- mkdir "%%i_batch\%%~nxa" >nul 2>nul
- echo %%b
- echo %%i_batch\%%~nxa\%%~nxb
- move /y "%%b" "%%i_batch\%%~nxa\%%~nxb"
- echo ----------
- )
- )
- )
- pause&exit
复制代码
|