Want more features on Pastebin? Sign Up, it's FREE!
Guest

Deleting Reg Keys

By: a guest on Dec 27th, 2012  |  syntax: Batch  |  size: 0.15 KB  |  views: 34  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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. )
clone this paste RAW Paste Data