Skip to content

Commit

Permalink
document how to start windows terminal and have it execute a command M…
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Iannucci committed Mar 24, 2021
1 parent 7003737 commit 8cd1719
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions TerminalDocs/command-line-arguments.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,15 @@ Below is the full list of supported commands and options for the `wt` command li

Commands may vary slightly depending on which command line you're using.

### Passing an argument to the default shell

To start an instance of Windows Terminal and have it execute a command, call `wt.exe` followed by your command.

```cmd
wt ping docs.microsoft.com
wt new-tab PowerShell -c Start-Service ; new-tab cmd /k dir
```

### Target a specific window

> [!IMPORTANT]
Expand Down

0 comments on commit 8cd1719

Please sign in to comment.