wt doesn't start in directory given from explorer #11906

Closed
opened 2026-01-31 03:00:42 +00:00 by claunia · 3 comments
Owner

Originally created by @csm10495 on GitHub (Dec 28, 2020).

Environment

Windows build number: 10.0.18363.1256
Windows Terminal version (if applicable): 1.4.3243.0

Any other software?

I don't think it matters but I am using clink in cmd and a profile in powershell. Same stuff happens without them.

Steps to reproduce

If I open wt from a directory via Windows Explorer, it doesn't start in the correct directory. This behavior is different from cmd/powershell.

Expected behavior

If i run wt in Windows Explorer in a directory, it should start in that directory.

Actual behavior

wt seems to start in the user's home directory.

Attaching a video of the behavior difference

https://user-images.githubusercontent.com/5749838/103238307-233d1c80-48ff-11eb-8b5b-d435035fce89.mp4

Originally created by @csm10495 on GitHub (Dec 28, 2020). # Environment ```none Windows build number: 10.0.18363.1256 Windows Terminal version (if applicable): 1.4.3243.0 Any other software? I don't think it matters but I am using clink in cmd and a profile in powershell. Same stuff happens without them. ``` # Steps to reproduce If I open wt from a directory via Windows Explorer, it doesn't start in the correct directory. This behavior is different from cmd/powershell. # Expected behavior If i run wt in Windows Explorer in a directory, it should start in that directory. # Actual behavior wt seems to start in the user's home directory. Attaching a video of the behavior difference https://user-images.githubusercontent.com/5749838/103238307-233d1c80-48ff-11eb-8b5b-d435035fce89.mp4
claunia added the Resolution-Duplicate label 2026-01-31 03:00:42 +00:00
Author
Owner

@j4james commented on GitHub (Dec 28, 2020):

The recommended way to make this work is by entering wt -d . in the explorer bar. For more info see https://github.com/microsoft/terminal/issues/878#issuecomment-579508860.

@j4james commented on GitHub (Dec 28, 2020): The recommended way to make this work is by entering `wt -d .` in the explorer bar. For more info see https://github.com/microsoft/terminal/issues/878#issuecomment-579508860.
Author
Owner

@zadjii-msft commented on GitHub (Jan 3, 2021):

Yep, this is by design. /dup #878

@zadjii-msft commented on GitHub (Jan 3, 2021): Yep, this is by design. /dup #878
Author
Owner

@ghost commented on GitHub (Jan 3, 2021):

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 (Jan 3, 2021): 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!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#11906