Bring Windows Terminal to Specific Folder When Run From File Explorer #9239

Closed
opened 2026-01-31 01:49:27 +00:00 by claunia · 3 comments
Owner

Originally created by @MikeMcCollister on GitHub (Jun 24, 2020).

Description of the new feature/enhancement

If I have the File Explorer open to "C:\Windows\System32\drivers\etc" and then type "cmd" (without the quotes) in the address bar it opens a Command Prompt in the "C:\Windows\System32\drivers\etc". Please have Windows Terminal do the same if I type "wt" (without the quotes" in the File Explorer address bar.

Originally created by @MikeMcCollister on GitHub (Jun 24, 2020). # Description of the new feature/enhancement If I have the File Explorer open to "C:\Windows\System32\drivers\etc" and then type "cmd" (without the quotes) in the address bar it opens a Command Prompt in the "C:\Windows\System32\drivers\etc". Please have Windows Terminal do the same if I type "wt" (without the quotes" in the File Explorer address bar.
claunia added the Issue-FeatureResolution-Duplicate labels 2026-01-31 01:49:27 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Jun 24, 2020):

Thanks for the suggestion! Please make sure to search for duplicates when filing new issues. This is already being tracked by another issue on our repo - please refer to #878 for more discussion.

We wanted to make wt behave like cmd or powershell here, but unfortunately, there were just too many odd edge cases to make this work right. There are more details over in https://github.com/microsoft/terminal/issues/878#issuecomment-579508860 if you want more reading. The recommended way to open the terminal in the current directory is by typing wt -d . in the explorer bar.

/dup #878 #6596 #6559 #6456 #6279 #6031 #5796

@zadjii-msft commented on GitHub (Jun 24, 2020): Thanks for the suggestion! Please make sure to [search for duplicates](https://github.com/microsoft/terminal/issues?q=is%3Aissue+%22explorer+address+bar%22+is%3Aclosed) when filing new issues. This is already being tracked by another issue on our repo - please refer to #878 for more discussion. We wanted to make `wt` behave like `cmd` or `powershell` here, but unfortunately, there were just too many odd edge cases to make this work right. There are more details over in https://github.com/microsoft/terminal/issues/878#issuecomment-579508860 if you want more reading. The recommended way to open the terminal in the current directory is by typing `wt -d .` in the explorer bar. /dup #878 #6596 #6559 #6456 #6279 #6031 #5796
Author
Owner

@ghost commented on GitHub (Jun 24, 2020):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Jun 24, 2020): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Author
Owner

@MikeMcCollister commented on GitHub (Jun 24, 2020):

Thanks for the explanation of the issue. I can now use "wt -d ." and it works like a charm.

@MikeMcCollister commented on GitHub (Jun 24, 2020): Thanks for the explanation of the issue. I can now use "wt -d ." and it works like a charm.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#9239