:initVarsByAttr

restores the values of the persistent variables to defaults

Description: call:initVarsByAttr
Dependencies: :getVarsByAttr
Script:
1.
2.
3.
4.
5.
6.
7.
8.
9.
:initVarsByAttr -- restores the values of the persistent variables to defaults
:$created 20060101 :$changed 20080219 :$categories Persistency
:$source https://www.dostips.com
SETLOCAL ENABLEDELAYEDEXPANSION
call:getVarsByAttr persist vars
( ENDLOCAL
    for %%a in (%vars%) do SET %%a=!persist.%%a!&  rem AA=persist.AA
)
EXIT /b