How to launch Windows' RegEdit with certain path?

前端 未结 13 1131
盖世英雄少女心
盖世英雄少女心 2020-12-08 04:15

How do I launch Windows\' RegEdit with certain path located, like \"HKEY_CURRENT_USER\\Software\\Microsoft\\VisualStudio\\8.0\", so I don\'t have to do the clic

13条回答
  •  无人及你
    2020-12-08 04:39

    Create a BAT file using clipboard.exe and regjump.exe to jump to the key in the clipboard:

    clipboard.exe > "%~dp0clipdata.txt"
    set /p clipdata=input < "%~dp0clipdata.txt"
    regjump.exe %clipdata%
    

    ( %~dp0 means "the path to the BAT file" )

提交回复
热议问题