Plamdi Posted November 1, 2006 Posted November 1, 2006 (edited) If you've ever used the Sysinternals REGJUMP you will have noticed it lanuches RegEdit - and THEN navigates to the correct Key. I have a question? What stops them from using the Microsoft allocated Value to store the start Key in? Answer: Nothing.Save as REGJUMP.CMD:@ECHO OFFIF NOT "%1"=="" GOTO NEXTECHO Launches Regedit to specified key.ECHO.ECHO REGJUMP keyECHO.ECHO key Specifies the registry key to go to.ECHO.ECHO Example:ECHO REGJUMP HKCR\pngfile\DefaultIconECHO.ECHO Known limitations: Key name cannot contain certain characters.ECHO REGJUMP is Freeware, (c) 2006 Plamdi.com.GOTO END:NEXTSETLOCAL ENABLEEXTENSIONSSET K=%*IF NOT %1==%~1 SET K=%~1IF %K:~0,4%==HKLM SET K=HKEY_LOCAL_MACHINE%K:~4%IF %K:~0,4%==HKCU SET K=HKEY_CURRENT_USER%K:~4%IF %K:~0,4%==HKCR SET K=HKEY_CLASSES_ROOT%K:~4%IF %K:~0,4%==HKCC SET K=HKEY_CURRENT_CONFIG%K:~4%IF %K:~0,3%==HKU SET K=HKEY_USERS%K:~3%REG QUERY "%K%">NULIF ERRORLEVEL 1 GOTO ENDREG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit" /V "LastKey" /D "My Computer\%K%" /F"%SYSTEMROOT%\REGEDIT.EXE":ENDSETLOCAL DISABLEEXTENSIONSAnd yeah, I'll probably make a better compiled .EXE version written in C++ ... but until then this should do. Launches Regedit AT the required key.Another interesting fact is that my version does not launch RegEdit if the Key does not exisit. Edited November 1, 2006 by Plamdi
kdyer Posted November 1, 2006 Posted November 1, 2006 Have you checked out either of the following sites?These give you the ability to jump to Registry Keys..Registry Commander: http://www.aezay.dk/ (CTRL+G to invoke the Go to)Registry Editor Extensions: http://www.regeditx.com/ (paste right in the top line)Thanks,Kent
maxXPsoft Posted November 4, 2006 Posted November 4, 2006 or if you want small and simple Jump2Reg http://maxxpsoft.com/3.html , even the HKEY_USERS\S-1-5-21 keys
Plamdi Posted November 5, 2006 Author Posted November 5, 2006 Here is a compiled version written using AutoIt...http://plamdi.com/files/reg_jump.exe
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now