Windows terminal doesnt open with the current directory path as its default #8775

Closed
opened 2026-01-31 01:37:37 +00:00 by claunia · 4 comments
Owner

Originally created by @Coderx7 on GitHub (Jun 3, 2020).

Environment

Platform    ServicePack           Version      VersionString
--------     -----------         -------       -------------
 Win32NT  10.0.18363.0 Microsoft Windows NT 10.0.18363.0

Steps to reproduce

Navigate to a folder of choice, in the address bar, delete everything (which is the current path to the current directory), and write wt and press enter :
the windows terminal pops up but the defaut path is not the current directory.

Expected behavior

Like CMD, it should start with the current directory path as its default.

Actual behavior

It always starts at the C:\Users\UserName\ path

Originally created by @Coderx7 on GitHub (Jun 3, 2020). # Environment ``` Platform ServicePack Version VersionString -------- ----------- ------- ------------- Win32NT 10.0.18363.0 Microsoft Windows NT 10.0.18363.0 ``` # Steps to reproduce Navigate to a folder of choice, in the address bar, delete everything (which is the current path to the current directory), and write `wt` and press enter : the windows terminal pops up but the defaut path is not the current directory. # Expected behavior Like CMD, it should start with the current directory path as its default. # Actual behavior It always starts at the C:\Users\UserName\ path
claunia added the Resolution-Duplicate label 2026-01-31 01:37:37 +00:00
Author
Owner

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

Thanks for the suggestion! Please make sure to search for duplicates when filing new issues.

The recommended way to open the terminal in the current directory is by typing wt -d . in the explorer bar. See issue https://github.com/microsoft/terminal/issues/878#issuecomment-579508860 for more details.

/dup #878, #4287, #4330, #4647, #4787, #4936, #5220, #5796, #6031, #6132, #6171, #6279

@zadjii-msft commented on GitHub (Jun 4, 2020): Thanks for the suggestion! Please make sure to [search for duplicates](https://github.com/microsoft/terminal/issues?q=is%3Aissue+%22current+directory%22+is%3Aclosed) when filing new issues. The recommended way to open the terminal in the current directory is by typing `wt -d .` in the explorer bar. See issue https://github.com/microsoft/terminal/issues/878#issuecomment-579508860 for more details. /dup #878, #4287, #4330, #4647, #4787, #4936, #5220, #5796, #6031, #6132, #6171, #6279
Author
Owner

@ghost commented on GitHub (Jun 4, 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 4, 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

@Coderx7 commented on GitHub (Jun 4, 2020):

@zadjii-msft Thanks the issue is if I do that I get this :
image

@Coderx7 commented on GitHub (Jun 4, 2020): @zadjii-msft Thanks the issue is if I do that I get this : ![image](https://user-images.githubusercontent.com/5382892/83769039-9dbcfb00-a694-11ea-9ead-ff9709945ec5.png)
Author
Owner

@Coderx7 commented on GitHub (Jun 4, 2020):

oh I missed the . at the end. wt -d . seems good.
Thanks

@Coderx7 commented on GitHub (Jun 4, 2020): oh I missed the `.` at the end. `wt -d .` seems good. Thanks
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#8775