Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • You start these programs via a URL protocol. This line lists all of them (incl http etc). @For /f "tokens=1* delims=" %%A in ('reg query HKCR /f "URL:*" /s /d ^| findstr /c:"URL:" ^| findstr /v /c:"URL: " ^| Sort') Do @Echo %%A %%B. When you have the protocol name append :// to it. So Weather app is msnweather://. You need to Shell Execute. Commented May 21, 2020 at 5:30
  • Alright, so I was able to navigate to the folder via Powershell and find the app ID in AppManifest.XML, so the following allows me to launch the terminal from VSCode 'shell:appsFolder\Microsoft.WindowsTerminal_8wekyb3d8bbwe!App' Unfortunately it isn't opening the folder I'm working in so that's something I need to work on. Commented May 21, 2020 at 14:35
  • I thought that the executable was wt.exe, so if I'm correct, you should be using "terminal.external.windowsExec": "C:\\Users\\skillcap\\AppData\\Local\\Microsoft\\WindowsApps\\wt.exe", in your settings.json. (remember to change the user name as required). As the executable should also have added to your %PATH% you should be able to generally start it using just wt, (with an unmodified %PATHEXT% variable). Also added as answer. Commented May 21, 2020 at 14:46