"--startingDirectory: 1 require TEXT missing"... #15614

Closed
opened 2026-01-31 04:43:27 +00:00 by claunia · 1 comment
Owner

Originally created by @jasonhe54 on GitHub (Oct 21, 2021).

Windows Terminal version (or Windows build number)

10.0.19043.1288, 1.10.2714.0

Other Software

No response

Steps to reproduce

  1. Open file explorer to a folder destination that is not C:\User\Username ( my folder is on desktop).
  2. In the address bar of File Explorer, type wt -d (to open this file directory in windows terminal, as mentioned here.
  3. Get error.
  4. "--startingDirectory: 1 required TEXT missing."

Expected Behavior

For Windows Terminal to launch and open to the file path that's opened in file explorer.

Actual Behavior

The error pops up and Windows Terminal never opens.
Here's a screenshot of the error: https://prnt.sc/1wyb73b

Originally created by @jasonhe54 on GitHub (Oct 21, 2021). ### Windows Terminal version (or Windows build number) 10.0.19043.1288, 1.10.2714.0 ### Other Software _No response_ ### Steps to reproduce 1. Open file explorer to a folder destination that is not C:\User\Username ( my folder is on desktop). 2. In the address bar of File Explorer, type wt -d (to open this file directory in windows terminal, as mentioned [here.](https://github.com/microsoft/terminal/issues/11544) 3. Get error. 4. "--startingDirectory: 1 required TEXT missing." ### Expected Behavior For Windows Terminal to launch and open to the file path that's opened in file explorer. ### Actual Behavior The error pops up and Windows Terminal never opens. Here's a screenshot of the error: https://prnt.sc/1wyb73b
Author
Owner

@zadjii-msft commented on GitHub (Oct 21, 2021):

You need to type

wt -d .

The period at the end is important

@zadjii-msft commented on GitHub (Oct 21, 2021): You need to type ``` wt -d . ``` The period at the end is important
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#15614