Skip to content

Instantly share code, notes, and snippets.

@iamtimmy
Created March 1, 2025 17:03
Show Gist options
  • Save iamtimmy/045678ad35af54d6c7b1b81fa50a857e to your computer and use it in GitHub Desktop.
Save iamtimmy/045678ad35af54d6c7b1b81fa50a857e to your computer and use it in GitHub Desktop.
registry files to set and unset filepilot as the default file manager.
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}]
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"=""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment