Read and write registry

To read a key and check if it exists use the following REG QUERY HKCU\Software\_GDFSUEZEPNL /V Honeywell_Pims_PCC_DLL | FIND "Version 0.2" >%LOG% if %ERRORLEVEL% == 0 GOTO :DLLInstalled

To write to the registry: REG ADD HKCU\Software\_GDFSUEZEPNL /V Honeywell_Pims_PCC_DLL /D "Version 0.2" /F