1.

Solve : reading register entry?

Answer» HI friends
HOW CAN I READ REGISTER ENTRY AND THEN EXTRACT SOME OF THE REGISTER ENTRY TO MY VARIABLE.
first use the REG /query command type reg /query /? to see a list of supported options, once you figure that out, use a for array

for example:

@ECHO off
set idx=0
for /F "tokens=1*" %%a in ('reg query HKCU /f OF /d /t Reg_Binary') do (
call set /a idx=%%idx%%+1
call set e.%%idx%%=%%a
)


the variables set, would be %e.1% and %e.2% ectthanks u very much


Discussion

No Comment Found