复制代码
- @echo off
- set "DstFolder=D:\筛选"
- set "ListFile=列表.txt"
- if not exist "%DstFolder%" (
- md "%DstFolder%"
- )
- cd /d "%~dp0"
- for /f "delims=" %%i in ('type "%ListFile%"') do (
- if exist "%%i" (
- move /y "%%i" "%DstFolder%"
- )
- )
欢迎光临 批处理之家 (http://www.bathome.net/) | Powered by Discuz! 7.2 |