Windows 10:
I am trying to get the results from command,
REG QUERY HKLM\SOFTWARE\MICROSOFT\WINDOWS\CURRENTVERSION\UNINSTALL
When I start cmd from C:\Windows\System32\cmd.exe
, it shows that Notepad++ is installed (which it is and is the desired output).
When I start cmd from C:\Windows\SysWOW64\cmd.exe
, it does not show Notepad++.
I am running cmd from another custom application and it gives me the results as if run from sysWOW64.
How can I start the C:\Windows\SysWOW64\cmd.exe
and have it start the C:\Windows\System32\cmd.exe
and produce the desired result when running my Reg Query? Trying to use this method to simulate using my other application.
I have tried “start C:\Windows\System32\cmd.exe /e:off /v:off /d /k
” and I get the undesired results.
Any help in getting the desired output and to understand why there is a difference between the cmd programs is greatly appreciated.