13356509634 当前离线
列兵
qixiaobin0715 当前离线
大校
@echo off md "D:\NewFolder" 2>nul for /f "delims=" %%a in ('dir /b /a-d *.mp4') do ( if exist "%%~na.JP??" ( move /y "%%~na.JP??" "D:\NewFolder" move /y "%%a" "D:\NewFolder" )>nul ) pause复制代码
评分人数
TOP
yhcfsr 当前离线
中尉
@echo off set "dst=d:\新文件夹" if not exist "%dst%" md "%dst%" for /f "delims=" %%i in ('dir /s/b/a-d "*.mp4"') do ( for /f "delims=" %%j in ('dir /s/b/a-d "%%~ni.jpg" "%%~ni.jpeg" 2^>nul') do ( echo;移动%%j---^>%dst% move /y "%%j" "%dst%\" )) pause复制代码