Created
July 25, 2014 09:38
-
-
Save Seikilos/ab23cf6b85e1d65936a5 to your computer and use it in GitHub Desktop.
Registry Search, Call with 2>&1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
IF "%1"=="" GOTO ERROR | |
echo Searching for %1 | |
REG Query HKLM /F "%1" /S | |
REG Query HKCU /F "%1" /S | |
REG Query HKCR /F "%1" /S | |
REG Query HKU /F "%1" /S | |
REG Query HKCC /F "%1" /S | |
GOTO END | |
:ERROR | |
echo No argument provided | |
:END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Source for explanation: http://www.robvanderwoude.com/regsearch.php