How to run an executable in Terminal from a batch file #3671

Closed
opened 2026-01-30 23:26:58 +00:00 by claunia · 2 comments
Owner

Originally created by @ctyar on GitHub (Aug 30, 2019).

Is it possible to open the Terminal and run an executable via a batch file?
Or at least set the Terminal as default for bat/ps1 files.

Something like this Run.bat:

wt.exe myConsoleApp.exe

Which opens the Terminal and executes the MyConsoleApp.exe

Originally created by @ctyar on GitHub (Aug 30, 2019). Is it possible to open the Terminal and run an executable via a batch file? Or at least set the Terminal as default for `bat`/`ps1` files. Something like this `Run.bat`: ``` wt.exe myConsoleApp.exe ``` Which opens the Terminal and executes the `MyConsoleApp.exe`
claunia added the Resolution-Duplicate label 2026-01-30 23:26:58 +00:00
Author
Owner

@DHowett-MSFT commented on GitHub (Aug 30, 2019):

/dup #492 #607

@DHowett-MSFT commented on GitHub (Aug 30, 2019): /dup #492 #607
Author
Owner

@ghost commented on GitHub (Aug 30, 2019):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Aug 30, 2019): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#3671