
| Quote: | |
|
| Quote: | ||||
|
CODE: [Copy to clipboard]@echo off & SetLocal EnableDelayedExpansion
for /f "delims=" %%a in (file_list.dat) do (
set filename=%%~nxa
if not exist "!filename!" (wget -q "%%~a") else (copy /y "!filename!" folder)
)
CODE: [Copy to clipboard]自己测试for /f "delims=" %%a in (file_list.dat) do if not exist "%%~nxa" (wget -q "%%~a") else (copy /y "%%~nxa" folder)
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |