@echo off for /f tokens^=2^delims^=^" %%a in (' findstr /ic:^"data-product-sku^=\^"D1512-^" "D1512.html" ') do set "v=%%a" echo,%v%>"D1512.txt" pause&exit/b复制代码