Skip to content

Instantly share code, notes, and snippets.

@iamtimmy
Created March 1, 2025 17:03
Show Gist options
  • Select an option

  • Save iamtimmy/045678ad35af54d6c7b1b81fa50a857e to your computer and use it in GitHub Desktop.

Select an option

Save iamtimmy/045678ad35af54d6c7b1b81fa50a857e to your computer and use it in GitHub Desktop.

Revisions

  1. iamtimmy revised this gist Mar 1, 2025. No changes.
  2. iamtimmy created this gist Mar 1, 2025.
    14 changes: 14 additions & 0 deletions set_explorer.reg
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    Windows Registry Editor Version 5.00

    [HKEY_CLASSES_ROOT\Drive\shell]
    @="none"

    [-HKEY_CLASSES_ROOT\Drive\shell\open]

    [HKEY_CLASSES_ROOT\Directory]
    @="File Folder"

    [-HKEY_CLASSES_ROOT\Directory\shell\open]


    [-HKEY_CURRENT_USER\Software\Classes\CLSID\{52205fd8-5dfb-447d-801a-d0b52f2e83e1}]
    27 changes: 27 additions & 0 deletions set_filepilot.reg
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,27 @@
    Windows Registry Editor Version 5.00

    ;; Replaces the behaviour of the windows desktop shells "open" command on drives and directories to open a specific application
    [HKEY_CLASSES_ROOT\Drive\shell]
    @="open"

    [HKEY_CLASSES_ROOT\Drive\shell\open\command]
    @="\"C:\\Program Files\\FPilot\\FPilot.exe\" \"%1\""

    [HKEY_CLASSES_ROOT\Directory\shell]
    @="open"

    [HKEY_CLASSES_ROOT\Directory\shell\open\command]
    @="\"C:\\Program Files\\FPilot\\FPilot.exe\" \"%1\""


    ;; Replaces the Windows+E key behaviour to open a specific application
    [HKEY_CURRENT_USER\Software\Classes\CLSID\{52205fd8-5dfb-447d-801a-d0b52f2e83e1}]
    @=""

    [HKEY_CURRENT_USER\Software\Classes\CLSID\{52205fd8-5dfb-447d-801a-d0b52f2e83e1}\shell]

    [HKEY_CURRENT_USER\Software\Classes\CLSID\{52205fd8-5dfb-447d-801a-d0b52f2e83e1}\shell\opennewwindow]

    [HKEY_CURRENT_USER\Software\Classes\CLSID\{52205fd8-5dfb-447d-801a-d0b52f2e83e1}\shell\opennewwindow\command]
    @="\"C:\\Program Files\\FPilot\\FPilot.exe\""
    "DelegateExecute"=""