Last Updated: March 05, 2016
·
5.378K
· darsain

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.

7 Responses
Add your response

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 ·

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 ·

Thank you!

over 1 year ago ·

"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 ·

I've updated the comment with snippets above.

over 1 year ago ·

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

over 1 year ago ·

@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 ·