cmd registry query code example Example: get regedit value cmd REG QUERY HKLM\Software\Microsoft\ResKit /v Version