-
Is it possible to run BAT files using Terminal? Translated by Google |
Beta Was this translation helpful? Give feedback.
Answered by
DHowett
May 1, 2022
Replies: 2 comments 3 replies
-
If you are using Windows 11, you can set Windows Terminal as your "default terminal application." Reminder: batch files will continue to use Command Prompt, but they will appear inside Windows Terminal. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
DHowett
-
You can do it by write this line in cmd: ftype batfile="%LOCALAPPDATA%\Microsoft\WindowsApps\wt.exe" "%1" %* This will open batch files in terminal by default IF YOU WISH TO SET IT BACK ftype batfile="%1" %* |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you are using Windows 11, you can set Windows Terminal as your "default terminal application."
Reminder: batch files will continue to use Command Prompt, but they will appear inside Windows Terminal.