复制代码
- @echo off&&setlocal enabledelayedexpansion
- :ks
- set p=0
- for /f %%i in ('dir /b /on *.xm') do (
- move /y %%i d:\abc\ >nul
- set /a p+=1
- if !p! equ 20 echo 移动20&ping /n 10 127.1 >nul&goto ks
- )
- exit
欢迎光临 批处理之家 (http://bbs.bathome.net/) | Powered by Discuz! 7.2 |