tpnybaby 当前离线
列兵
cmd /K (for /F "delims=" %a in ('dir /a-d /b^|find ".jpg"') do (md "%~待勘误" & move /Y "%~a" "%~待勘误"))复制代码
评分人数
buyiyang 当前离线
中尉
cmd /K for /F "delims=" %a in ('dir /a-d /b^^^|find ".jpg"') do md "待勘误" ^& move /Y "%~a" "待勘误"复制代码
cmd /K "for /F "delims=" %a in ('dir /a-d /b^|find ".jpg"') do md "待勘误" & move /Y "%~a" "待勘误""复制代码
TOP
特殊符号^|&需要处理或者给命令字符串加双引号 buyiyang 发表于 2023-5-20 20:20
for %i in (*) do for %a in ("%~ni") do if "%~xa"==".jpg" md "待勘误" & move /Y "%i" "待勘误"复制代码
77七 当前离线
中校
for /f "delims=" %i in ('dir /b /a-d ^|find ".jpg."') do md "待勘误" 2>nul & move /y "%i" "待勘误"复制代码
qixiaobin0715 当前离线
大校
dir /b /a-d *.jpg.*复制代码