Can't launch wt.exe with current directory as the starting directory #4571

Open
opened 2026-01-30 23:50:55 +00:00 by claunia · 0 comments
Owner

Originally created by @terrajobst on GitHub (Oct 21, 2019).

Environment

Windows build number: Microsoft Windows NT 10.0.19002.0
Windows Terminal version (if applicable): 0.5.2762.0

Scenario

I was using the new & shiny Git client Fork. It allows launching a terminal for the current repo. All other shells properly lunch in my Git folder except for Windows Terminal which always ends up in user profile.

Steps to reproduce

Here is what I tried:

  1. Entirely removed startingDirectory from my profile
  2. Explicit set startingDirectory to %CD%

Expected behavior

Give me a way to allow the terminal to launch from a current directory. I'm OK if that means having to set my default profile to %CD%.

Actual behavior

Removing startingDirectory or setting it to %CD% still results in launching in %USERPROFILE%. However, setting an explicit path (e.g. P:\) still works.

Originally created by @terrajobst on GitHub (Oct 21, 2019). # Environment ```none Windows build number: Microsoft Windows NT 10.0.19002.0 Windows Terminal version (if applicable): 0.5.2762.0 ``` # Scenario I was using the new & shiny Git client [Fork](https://fork.dev/). It allows launching a terminal for the current repo. All other shells properly lunch in my Git folder except for Windows Terminal which always ends up in user profile. # Steps to reproduce Here is what I tried: 1. Entirely removed `startingDirectory` from my profile 2. Explicit set `startingDirectory` to %CD% # Expected behavior Give me a way to allow the terminal to launch from a current directory. I'm OK if that means having to set my default profile to `%CD%`. # Actual behavior Removing `startingDirectory` or setting it to `%CD%` still results in launching in `%USERPROFILE%`. However, setting an explicit path (e.g. `P:\`) still works.
claunia added the Needs-TriageNeeds-Tag-Fix labels 2026-01-30 23:50:55 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#4571