Open Windows Terminal in the current folder

Launch a terminal pre-positioned in whatever folder you are working in.

WindowsFilesTerminalpowershellLow risk
Run wt -d . — a new Windows Terminal window opens already cd'd to the current folder.

01Command

Command
$ wt -d .

02What it does

The wt.exe launcher accepts -d to set the starting directory, and . means the folder you are in now, so no manual cd afterwards. This works in Command Prompt and PowerShell alike, and you can pass any path, e.g. wt -d C:\Projects. For the reverse direction, typing the folder name in File Explorer's address bar opens it, or type cmd / PowerShell in the address bar to open a console pinned to that folder. On Windows 10, Windows Terminal may need to be installed from the Microsoft Store first.

03Risk

RiskLow risk
RequirementsWindows Terminal (preinstalled on Windows 11; optional on Windows 10).

04Undo

✓No undo needed — this command does not change persistent state.

05Sources

Last verified: 2026-09-18 · Category: Files & Folders

06Related solutions