v8aora
Last Updated: March 05, 2016
·
4.322K
· darsain
D4f27d97239ac248cfcd9d4a50617644

Adding Console2/ConsoleZ to folder context menus

If you are developing on Windows, you should definitely use Console2, or its more maintained fork ConsoleZ. With a little tweaking, it is the most competent and nicest terminal experience on Windows:

Picture

(If anyone knows how to fix those dots appearing as crossed boxes, let me know :))

The only thing that it lacks is the integration to context menus. That is exactly what the registry scripts below will do for you.

Adding

This script will add Console2 or ConsoleZ to a right click context menus of a folder, and an active folder's background:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\shell\Console]
@="Console Here"

[HKEY_CLASSES_ROOT\Directory\shell\Console\command]
@="\"E:\\Apps\\ConsoleZ\\Console.exe\" -d \"%V\""

[HKEY_CLASSES_ROOT\Directory\Background\shell\Console]
@="Console Here"

[HKEY_CLASSES_ROOT\Directory\Background\shell\Console\command]
@="\"E:\\Apps\\ConsoleZ\\Console.exe\" -d \"%V\""

Don't forget to change the path to your console!

Removing

This will remove the Console from context menus, and clean up the registry.

Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\Directory\shell\Console]

[-HKEY_CLASSES_ROOT\Directory\Background\shell\Console]

Usage

After modifying console path in the installation script, save the scripts into a separate *.reg files, and run whichever you need.

Say Thanks
Respond

7 Responses
Add your response

9864
20fac5f9b94af78a7b289c799f49da82

Hey! Nice tut!
What font do you use? How do you get your username, machine, and current dir in the title?
Thanks!

over 1 year ago ·
9867
D4f27d97239ac248cfcd9d4a50617644

The setup is ConsoleZ wrapping Git Bash, which is in turn reading my .bashrc (located in user directory) with settings on how should the prompt look like.

over 1 year ago ·
9868
20fac5f9b94af78a7b289c799f49da82

Thank you!

over 1 year ago ·
12723
Default profile 3 normal

"How do you get your username, machine, and current dir in the title?"

I'm interested too! Also it looks like hastebin links doesnt exists anymore.

over 1 year ago ·
12726
D4f27d97239ac248cfcd9d4a50617644

I've updated the comment with snippets above.

over 1 year ago ·
15628
4f9a98ced25ddd469d786cc212462c5e

@darsain which font are you using on the console? Looks nice.

over 1 year ago ·
27321

@darsain Hey! Thanks for the tut! I love how your terminal looks. Please post the full configuration folder (located at ~/AppData/Roaming/Console).
Thanks again!

over 1 year ago ·