- @fltmc>nul||mshta vbscript:CreateObject("Shell.Application").ShellExecute("%~dpnx0","%*",,"runas",1)(window.close)&&exit
- @echo off
- cd /d "%~dp0"
- >xml.xxx (
- findstr /n .* JLinkDevices3.xml |findstr /b "1:"
- findstr /n .* JLinkDevices4.xml
- findstr /n .* JLinkDevices3.xml |findstr /bv "1:"
- )
- (for /f "tokens=1* delims=:" %%a in ('type "xml.xxx"') do (
- echo=%%b
- ))>JLinkDevices3.xml
- del xml.xxx
- pause
复制代码
|