Batcher 当前离线
管理员
@echo off cd /d "%~dp0" set "NewFolder=log" if not exist "%NewFolder%" ( md "%NewFolder%" ) set "input=not exist dummy string" set /p "input=请输入日期:" for /f "delims=" %%i in ('dir /b /a-d %input%*') do ( copy /y "%%i" "%NewFolder%\2000%%~xi" )复制代码
TOP