Suggestion for keybindings #6142

Closed
opened 2026-01-31 00:30:54 +00:00 by claunia · 1 comment
Owner

Originally created by @ghost on GitHub (Jan 25, 2020).

it would be nice if there was an option to launch with arguments like when i open cmd i want it to do /ipconfig each time i open a spesific cmd :)

Originally created by @ghost on GitHub (Jan 25, 2020). it would be nice if there was an option to launch with arguments like when i open cmd i want it to do /ipconfig each time i open a spesific cmd :)
claunia added the Issue-QuestionNeeds-TriageNeeds-Tag-FixResolution-Answered labels 2026-01-31 00:30:54 +00:00
Author
Owner

@DHowett-MSFT commented on GitHub (Jan 26, 2020):

You can do this. Here's an example of a keybinding that launches cmd and runs ipconfig.

{
    "command": {
	    "action": "newTab",
        "commandline": "cmd.exe /s /k ipconfig"
    },
    "keys": [ "ctrl+alt+i" ]
}
@DHowett-MSFT commented on GitHub (Jan 26, 2020): You can do this. Here's an example of a keybinding that launches cmd and runs ipconfig. ```jsonc { "command": { "action": "newTab", "commandline": "cmd.exe /s /k ipconfig" }, "keys": [ "ctrl+alt+i" ] } ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#6142