pcl_test 当前离线
荣誉版主
//&cls&wmic product get name |cscript -nologo -e:jscript "%~f0"&pause&exit/b while(!WScript.StdIn.AtEndOfStream) { var str = WScript.StdIn.ReadLine() if (/^Microsoft.+?\(x64\)\s*$/i.test(str))WSH.Echo(str); }复制代码
评分人数
TOP
freesoft00 当前离线
六级士官
--------------------------- Windows Script Host --------------------------- 脚本: G:\sdssf.vbs 行: 1 字符: 1 错误: 缺少语句 代码: 800A0400 源: Microsoft VBScript 编译器错误 --------------------------- 确定 ---------------------------复制代码
CrLf 当前离线
论坛巡查
WHY 当前离线
上校
@echo off for /f "delims=" %%i in ('wmic product where "name like 'microsoft%%(x64)'" get name /format:list') do ( for /f "tokens=1*delims==" %%i in ("%%i") do echo;%%j ) pause复制代码