:regedit

opens regedit at predefined location

Description: call:regedit key
Script:
1.
2.
3.
4.
5.
6.
7.
8.
:regedit key -- opens regedit at predefined location
::           -- [IN] key - registry key to be shown after opening regedit
:$created 20080314 :$changed 20080314 :$categories Regedit,Registry
:$source https://www.dostips.com
SETLOCAL
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit" /v "LastKey" /f /d "%~1">NUL
start /b regedit
EXIT /b