START "ms-settings:" and focus? #10310

Open
opened 2026-01-31 02:18:02 +00:00 by claunia · 0 comments
Owner

Originally created by @vefatica on GitHub (Aug 26, 2020).

If, in CMD or PowerShell, running in Terminal, I issue (for example)

START "ms-settings:"

the settings dialog does not take focus (taskbar icon flashes).

In contrast, if I issue the same command given in a CMD or PowerShell running in a console, the dialog does take focus.

And, again in CMD or PowerShell, in Terminal, my own SHELLEX.EXE (wrapper for ShellExecuteEx) starts the dialog with focus.

... just curious.

Originally created by @vefatica on GitHub (Aug 26, 2020). If, in CMD or PowerShell, running in Terminal, I issue (for example) **START "ms-settings:"** the settings dialog does not take focus (taskbar icon flashes). In contrast, if I issue the same command given in a CMD or PowerShell running in a console, the dialog does take focus. And, again in CMD or PowerShell, in Terminal, my own SHELLEX.EXE (wrapper for ShellExecuteEx) starts the dialog with focus. ... just curious.
claunia added the Resolution-Duplicate label 2026-01-31 02:18:02 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#10310