@echo off
setlocal enabledelayedexpansion
for /F "delims=" %%i in ('dir /a-d /b') do (
if not "%%~nxi"=="%~nx0" (
if "%%~xi" == ".EMS" (
set dd=%%i
set "dd=!dd:~7,10!"
md D:\360Downloads\BW_FTP\Receive\!dd!\
copy %%i D:\360Downloads\BW_FTP\Receive\temp\
move %%i D:\360Downloads\BW_FTP\Receive\!dd!\
)
)
)
bat 进行 本地的文件移动
最新推荐文章于 2024-09-10 13:09:15 发布