如何通过批处理来检查指定的系统补丁是否安装

@echo off

wmic qfe GET hotfixid | findstr /C:"KB4012212"
if %errorlevel% equ 0 (Echo Patch KB4012212 installed) else (echo Patch KB4012212 didn't install,please contact with hotlinecn.magnasteyr@magna.com as soon as possible ! )