13

I have a few custom profiles in Windows Terminal, as shown in the settings menu:

custom profiles

How do I make a desktop shortcut which I can double click that launches windows terminal with one of these profiles?

2 Answers 2

18
wt new-tab --profile "Spyder (Spy)"

works :)

4

Yes. Try,

wt -h which gives you the command line options. However, the answer by Greedo still doesn't find it, its buried deeper. wt nt -h will get the new-tab options. There is a help for each of the 'Subcommands'. Most all the subcommands have a two letter shortcut. Split-Pane = sp, focus-tab is ft and so on.

In general, windows terminal borrows from powershell syntax, e.g. verb-noun though its internally inconsistent, but consistent with linux at least in that the options are given by --focus, -f where two hyphens mark a fullname option and one - marks a short option.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .