|For example, when using:|
reg query "HKEY_CURRENT_USER\Software\Product" /v "InstallPath"
it will output all values of that string.
If we put >nul at the end, there will be no output,
but only if that specific registry string exists.
If registry string doesn't exist, it will
still output an error, although we used >nul.
My question is: "How to hide that error output?"
P.S. Echo has been set off.