check registry key [solved]
Posted: 14 Mar 2012 19:15
Is it possible to check for a key in the registry
like in this: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
to check if the "RUN" exist or not
i use this for values:
how to check if the "RUN" Key Exist ?? thanks in advance
like in this: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
to check if the "RUN" exist or not
i use this for values:
Code: Select all
@echo off
cls
set reg=HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
::===Code===::
REG QUERY "%reg%" /v "utorrent" /s >nul
if %errorlevel%==0 ( echo utorrent Exist
) Else ( echo utorrent Not Exist)
how to check if the "RUN" Key Exist ?? thanks in advance