miaojiahong 当前离线
列兵
SET SRC_NAME=%1 SET DST_NAME=%2 SET DATESTR=%date:~10,4%%date:~4,2%%date:~7,2% md %DST_NAME%%DATESTR% move %SRC_NAME% %DST_NAME%%DATESTR%复制代码
xxpinqz (YiFeng)当前离线
中校
@echo off&setlocal enabledelayedexpansion (for %%a in (*_*.jpeg) do ( set/a n=%%~na md !n! move "!n!*.jpeg" !n!\ ))2>nul复制代码
TOP
CrLf 当前离线
论坛巡查
@echo off&setlocal enabledelayedexpansion (for %%a in (*_*.jpeg) do ( for /f "delims=_" %%b in ("%%~na") do ( md "%%b" move "%%b*.jpeg" "%%b\" ) )) 2>nul复制代码
for /l %%a in (1234_乱七八糟的后缀 1 1234_乱七八糟的后缀) do echo %%a复制代码
for /l %%a in (1234_乱七八糟的后缀 -2147483647) do echo %%a复制代码
评分人数