Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ahmad-ali14/2477089fc84248237c3000bcd10fe7a3 to your computer and use it in GitHub Desktop.
Save ahmad-ali14/2477089fc84248237c3000bcd10fe7a3 to your computer and use it in GitHub Desktop.
  1. first, move cmder folder to the main root c:// drive.
  2. make file enable.reg and paste this code in it (make it in vscode):
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\Background\shell\Cmder]
@="Open in Cmder"
"Icon"="C:\\Cmder\\Cmder.exe,0"

[HKEY_CLASSES_ROOT\Directory\Background\shell\Cmder\command]
@="\"C:\\Cmder\\Cmder.exe\" \"%V\""

[HKEY_CLASSES_ROOT\Directory\shell\Cmder]
@="Open in Cmder"
"Icon"="C:\\Cmder\\Cmder.exe,0"

[HKEY_CLASSES_ROOT\Directory\shell\Cmder\command]
@="\"C:\\Cmder\\Cmder.exe\" \"%1\""
  1. make this file disable.reg if you want to disable this feature in future, and paste this code in it:
Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\Directory\Background\shell\cmder]
[-HKEY_CLASSES_ROOT\Directory\shell\cmder]
  1. execute the enable file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment