Description: |
call:loadRegVars key |
Dependencies: |
:getVarsByAttr, :GetRegValue |
Script: |
1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11.
|
:loadRegVars key -- loads the values of the persistent variables
:: -- key [in] - registry key to restore from
:$created 20060101 :$changed 20080219 :$categories Registry,Persistency
:$source https://www.dostips.com
SETLOCAL ENABLEDELAYEDEXPANSION
call:getVarsByAttr reg vars
( ENDLOCAL
for %%a in (%vars%) do SET %%a=!reg.%%a!& rem AA=reg.AA
for %%a in (%vars%) do call:GetRegValue "%~1" "%%a" %%a
)
EXIT /b
|
|