Reputation: 1743
I want to run an executable with Windows Terminal. Something like this:
wt.exe myConsoleApp.exe
But this only opens the Terminal itself.
Making the Terminal the default for all ps1
, bat
and command line exe
files would work too.
Upvotes: 3
Views: 21398
Reputation: 11
If you're using Windows 11:
If wt.exe
does not work, check if Windows Terminal / wt.exe is enabled under "App execution aliases" (in Settings).
Upvotes: 1
Reputation: 881
You should include start
when you want to run an executable. For example:
start wt.exe
Also note that, you should include the full file path if you are not currently on the directory of your executable file.
Upvotes: -1