
CODE: [Copy to clipboard][ Last edited by uiopuiop on 2009-6-23 at 06:03 ]<?xml version="1.0" ?>
<WURedist>
<StandaloneRedist Version="32">
<architecture name="x86" clientVersion="7.2.6001.788" downloadUrl="http://download.windowsupdate.com/WindowsUpdate/redist/standalone/7.2.6001.788/WindowsUpdateAgent30-x86.exe"/>
<architecture name="x64" clientVersion="7.2.6001.788" downloadUrl="http://download.windowsupdate.com/WindowsUpdate/redist/standalone/7.2.6001.788/WindowsUpdateAgent30-x64.exe"/>
<architecture name="ia64" clientVersion="7.2.6001.788" downloadUrl="http://download.windowsupdate.com/WindowsUpdate/redist/standalone/7.2.6001.788/WindowsUpdateAgent30-ia64.exe"/>
<MUAuthCab RevisionId="7" DownloadURL="http://update.microsoft.com/v8/microsoftupdate/redir/MUAuth.cab"/>
</StandaloneRedist>
</WURedist>
CODE: [Copy to clipboard]@echo off & setlocal enabledelayedexpansion
(for /f "tokens=*" %%a in (wuredist.xml) do (
set var=%%a
if "!var:download.windowsupdate.com=!" neq "!var!" (
set var=!var:* downloadUrl=!
echo !var:~2,-3!
)
))>downloadUrl.txt
start downloadUrl.txt
| Quote: | |
|
CODE: [Copy to clipboard]@echo off&(for /f "tokens=4 delims==" %%a in (wuredist.xml) do (set n=%%a&call echo %%n:~1,-3%%))&pause
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |