Skip to content

How would i go about adding an shortcut to windows terminal? #16936

Answered by zadjii-msft
Raukie asked this question in Q&A
Discussion options

You must be logged in to vote

There are some thoughts that might be relevant in #12859.

But also, if I can try to dig in to what you're trying to accomplish here - You want to select some text, then try to open that selected text in file explorer? In case you didn't know, the start command in a shell will open the path provided in file explorer. So start c:\users\foo\downloads opens c:\users\foo\downloads in File Explorer. It might be easier to just select the text, ctrl+c to copy, then home and type start

You might even be able to whip up a multipleActions command that does the copy, then sendInput the sequence "\u001b[Hstart " (which is the enoding for the home key).

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@Raukie
Comment options

@Raukie
Comment options

@Raukie
Comment options

Answer selected by Raukie
Comment options

You must be logged in to vote
1 reply
@Raukie
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants