SHARE
TWEET

Deleting Reg Keys

a guest Dec 27th, 2012 37 Never
  1. for /f "skip=3 delims=" %%A in ('reg query "HKEY_LITERAL_REG_PATH"') do (
  2.         echo %%A | findstr "HKEY" > nul
  3.         if not errorlevel 1 (reg delete %%A)
  4. )
RAW Paste Data
Top