Get: Open Windows Terminal Here

Dinesh Jinjala
3 min readNov 12, 2020

--

Right Click in Any Folder

It is always good to have this quick option at just the right click of the mouse to open Windows Terminal at any folder.

Way 1: We can open Windows Terminal at any folder by typing wt.exe at the address bar of the folder path.

But open a terminal with just a right-click is easier than Way 1. So let’s get started with Way 2:

Step 1: Make a terminal folder in C:\\Users\\”Your User Name”\\AppData\\Local\\ or C:\Users\”Your User Name”\AppData\Local\

Here I am using “\\” just because in the registry file we need to give the path like this. So here you just have to create a terminal folder in your user’s AppData’s Local folder.

Copy the windows terminal icon to the folder C:\Users\” Your User Name”\AppData\Local\terminal\, the icon can be obtained in https://github.com/yanglr/WindowsDevTools/tree/master/awosomeTerminal/icons whose file name is wt_32.ico.

You can use any .ico file you like from that repo.

I have used this .ico file

Step 2: Make wt.reg file there and put this content there:

Windows Registry Editor Version 5.00[HKEY_CLASSES_ROOT\Directory\Background\shell\wt]
@="Windows terminal here"
"Icon"="C:\\Users\\jinja\\AppData\\Local\\terminal\\aliyun_32px.ico"
[HKEY_CLASSES_ROOT\Directory\Background\shell\wt\command]
@="C:\\Users\\jinja\\AppData\\Local\\Microsoft\\WindowsApps\\wt.exe"

To be noted, if the exe obtained after building code by yourself is wtd.exe, you need to change the above wt.exe to wtd.exe in the above registry.

The result after Step 2

Step 3: Run wt.reg as administrator and just add keys in the registry.

Result:

This is the final result.

My windows version:

My windows version

Many people get the permission issue for wt.reg. If you get the permission issue then please ping me in feedback. I have solved it a few months back (At that time OS build was older.). But right now with this new OS build, I didn’t get that error. So if you get a permission error, just ping me and I will surely help you.

Thank you for reading this article. Have a great experience with the windows terminal.

My Github URL: https://github.com/MachineLearning-Nerd

Twitter: https://twitter.com/DineshDataAI

Instagram: @dinesh.jinjala

--

--

Dinesh Jinjala
Dinesh Jinjala

Written by Dinesh Jinjala

I am an AI Scientist with interest in painting, playing carom and to do work with awareness.

No responses yet