Starting directory doesn't take effect #18866

Open
opened 2026-01-31 06:26:42 +00:00 by claunia · 0 comments
Owner

Originally created by @gyorokpeter on GitHub (Nov 11, 2022).

Windows Terminal version

1.15.2875.0

Windows build number

10.0.22621.819

Other Software

N/A

Steps to reproduce

Go to Settings -> Command Prompt, change Starting Directory from the default (%USERPROFILE%) to something else (e.g. D:\)
Press Windows+R, type cmd

Expected Behavior

The command prompt should open in the directory specified in the settings (D:\ in the above example).

Actual Behavior

The command prompt still opens in the default default directory (C:\Users\<my user name>).

Originally created by @gyorokpeter on GitHub (Nov 11, 2022). ### Windows Terminal version 1.15.2875.0 ### Windows build number 10.0.22621.819 ### Other Software N/A ### Steps to reproduce Go to Settings -> Command Prompt, change Starting Directory from the default (`%USERPROFILE%`) to something else (e.g. `D:\`) Press Windows+R, type `cmd` ### Expected Behavior The command prompt should open in the directory specified in the settings (`D:\` in the above example). ### Actual Behavior The command prompt still opens in the default default directory (`C:\Users\<my user name>`).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#18866