3

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.

ctyar
  • 931
  • 2
  • 10
  • 22

3 Answers3

1

Update: This is now possible with:

wt myConsoleApp.exe
ctyar
  • 931
  • 2
  • 10
  • 22
1

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).

Go to Settings > Apps > Apps & features > App execution aliases. Check that the line containing wt.exe is checked. (click for photo)

niikoo
  • 11
  • 4
-1

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.

rkg
  • 805
  • 5
  • 14