Add Open Windows Terminal on the context menu📄

Add Open Windows Terminal on the context menu📄

I always like shortcuts, and windows terminal by default doesn't add open windows terminal on the context menu. And this little shortcut comes really handy to open the project from the file explorer.

Before we get started

Install Windows terminal from the Windows Store

Create a text file

create a text file and paste the below lines in the file. replace {username} with the username of the system you can find it by running echo %USERNAME% in the cmd.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\Background\shell\wt]

@="Open Windows terminal"

"Icon"="C:\\Users\\{username}\\AppData\\Local\\Microsoft\\WindowsApps\\terminal.ico"

[HKEY_CLASSES_ROOT\Directory\Background\shell\wt\command]

@="\"C:\\Users\\{username}}\\AppData\\Local\\Microsoft\\WindowsApps\\wt.exe\" -d %V.\"\""

once you have copied it into the text file, now rename the file extension to .reg. If you are unable to do this enable file name extensions in the view panel of the file explorer.

File name extenstion.png

once you edited the file extension from .txt to .reg, now run the file. Windows asks for confirmation, and after you give the green signal you can now see the windows terminal here on the context menu.

 
Share this