Hello,
I am trying to have this batch file check the presence of registry entries. I do not want it to print anything to the screen. If the value is present I want it to print to a text file.
reg query hkcu\software\sample
if errorlevel=0 echo "hkcu\software\sample">>list.txt
That is what I have so far.
Any advice would be greatly appreciated.