read registry from command line code example Example: get regedit value cmd REG QUERY HKLM\Software\Microsoft\ResKit /v Version