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