
CODE: [Copy to clipboard]http://rthost.fam.cx/cndos-up/img/927.zip@echo off
set yuan=\\server\ongame
set mubiao=d:\ongame
setlocal enabledelayedexpansion
FOR /f "delims=" %%i IN ('dir /b /o:n %mubiao%') DO (
set path1=%yuan%\%%i
set path2=%mubiao%\%%i
call :xx )
setlocal DISABLEDELAYEDEXPANSION
goto end
:xx
if not EXIST "%path1%" echo 服务器上没有(%path1%) & goto :eof
xxcopy %path1% %path2% /s/k/h/bi/y/zy/PB/YY >nul & goto :eof
:end
echo 完成
pause>nul
| Quote: | |
|
| Quote: | |
|
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |