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

Open
opened 2026-01-30 23:26:55 +00:00 by claunia · 0 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:55 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#3668