You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
New tabs don't launch in the directory of the first tab when launching WT via cmd.exe shorthand #14761
When in a particular folder with Explorer, open Terminal by typing "cmd" in the address bar
Create a new tab in the opened Terminal window
Reproduce expected behaviour:
When in a particular folder with Explorer, open Terminal by typing "wt" in the address bar
Create a new tab in the opened Terminal window
Expected Behavior
The new tab should have the same working director as the first tab, if settings.json is correctly setup.
This is already the case when launching Terminal through the "wt" shorthand, but not via "cmd".
Actual Behavior
The new tab always starts in "C:\Windows\System32" regardless of the starting directory of the first tab.
When launching Terminal through the "wt" shorthand, the new tab will start in the correct directory.
Activity
zadjii-msft commentedon Feb 1, 2023
Notes:
Or, you could set up your CMD prompt to emit the CWD and then
duplicateTabwould just do the right thing.