This repository contains some scripts to create a context menu item Open Windows Terminal. You can right click on any file, folder and the empty area of a folder to get this menu. See below demo.gif for the effects of the script.
Set-ExecutionPolicy RemoteSigned -Force
install.ps1
, choose Run with PowerShell
. This will generate wt.reg
and wt_nonadmin.reg
.wt.reg
, click Yes and OK. This will add an entry Open Windows Terminal to your context menu.wt_nonadmin.reg
, click Yes and OK. This will add an entry Open Windows Terminal(Non-Admin) to your context menu.Now you can try to right click on something to see if it works.
Note that it is suggested to close UAC, otherwise you will see this every time you click context menu item Open Windows Terminal.
install.ps1
file adds some code to your PowerShell profile, which will be executed whenever you open a PowerShell command line.$env:TEMP\windows_terminal_current_dir.temp
and a Windows Terminal session will be opened.$env:TEMP\windows_terminal_current_dir.temp
exists and whether the full path in $env:TEMP\windows_terminal_current_dir.temp
refers to a file or a folder etc. and properly set the location to the one stored in $env:TEMP\windows_terminal_current_dir.temp
and remove it.