Skip to content

Instantly share code, notes, and snippets.

@domportera
Last active November 12, 2024 11:16
Show Gist options
  • Save domportera/451487759425f7964c120f9036df8bdd to your computer and use it in GitHub Desktop.
Save domportera/451487759425f7964c120f9036df8bdd to your computer and use it in GitHub Desktop.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Drive\shell]
@="open"
[HKEY_CLASSES_ROOT\Drive\shell\open\command]
@="C:\\Program Files\\Double Commander\\doublecmd.exe -P L -T \"%1\""
[HKEY_CLASSES_ROOT\Directory\shell]
@="open"
[HKEY_CLASSES_ROOT\Directory\shell\open\command]
@="C:\\Program Files\\Double Commander\\doublecmd.exe -P L -T \"%1\""
@domportera
Copy link
Author

only tested on windows 10 - does not replace Win + E key at this point

@Robbware
Copy link

Robbware commented Jul 8, 2024

I can confirm this works on Win 11, but if I already have an instance of DC open it won't use the same one and create a new one instead. Is there a way around this?

@domportera
Copy link
Author

great! I think I fixed this just with an option within DoubleCommander -
image

@Robbware
Copy link

Robbware commented Jul 9, 2024

great! I think I fixed this just with an option within DoubleCommander - image

Thanks, this works great! 😄

@domportera
Copy link
Author

im happy it helped!! :)

@domportera
Copy link
Author

@Robbware If you're trying to replace the Win + E hotkey for doubleCMD, see above for a new powershell script

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment