Run *.cmd in default terminal "Windows Terminal" instead of "Windows Console"

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
yar3333
New Member
New Member
Posts: 1
Joined: 2022-09-14, 11:03 UTC

Run *.cmd in default terminal "Windows Terminal" instead of "Windows Console"

Post by *yar3333 »

Now "Windows Terminal" become a standard in Windows. If I run *.cmd from file explorer - "Windows Terminal" is opened. But if I run *.cmd from Total Cmmander - old console host is used. Can this be tweaked/fixed?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48079
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Run *.cmd in default terminal "Windows Terminal" instead of "Windows Console"

Post by *ghisler(Author) »

It depends on the file association of cmd files, TC just runs them via ShellExecuteEx and leaves the rest to Windows.

For shift+enter, you will have to modify the COMSPEC environment variable, Total Commander uses that to determine what to run.
Author of Total Commander
https://www.ghisler.com
Post Reply