Programmatically extract key and value from Windows registry using simple Dos command line statement

Lucas Jellema

The Windows Registry can be inspected from a Dos (Command Prompt) command. The key and data element I was looking for is: Key Name: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\chrome.exe Data Name: Path The OS command we can use to extract the value of this entry: REG QUERY “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\chrome.exe” /S /v Path The […]