Starting Terminal from TakeCommand

samintz

Scott Mintz
May 20, 2008
1,488
15
Solon, OH, USA
There is something special about the way Microsoft's new Terminal preview gets launched. I cannot run the executable directly. And when I create a shortcut on my desktop, TCC is unable to decode it.
Code:
$ shortcut "C:\Users\mintz\Desktop\Windows Terminal (Preview).lnk"
Command=
Arguments=
Directory=
Description=
Link=C:\Users\mintz\Desktop\Windows Terminal (Preview).lnk
Icon=
Offset=0
Mode=1
Hotkey=

I can create a button and put the LNK file in the button. I cannot run Terminal within a TakeCommand Tab. I realize not all GUI apps can run in a tab. But I wanted to see if it would.
 
Hey @samintz try the Windows Terminal stable release instead of the preview release.

The stable release is at Windows Terminal v1.0.1401.0

The preview release can also be installed with the stable release, but I prefer just the stable release.

On my system, I can run Windows Terminal from TCC by changing to directory;
Code:
c:\users\joe caverly\appdata\local\microsoft\windowsapps>
then run
Code:
wt.exe

Joe
 

samintz

Scott Mintz
May 20, 2008
1,488
15
Solon, OH, USA
I see both 1401 and 1402 in my windowsapps directory. Thank you for that. I can run WT from the command line and it launches correctly. Although it is not treated as a GUI app. It does not return the TCC prompt until I exit Terminal. START works though.

However, it fails miserably if I create a Button in TakeCommand to launch WT. Watching my ProcessHacker window, I see it starts correctly, but when Tcmd tries to AttachConsole it crashes the Terminal app, OpenConsole.exe, and TCC.exe (or Powershell)
 
May 20, 2008
11,285
95
Syracuse, NY, USA
I see both 1401 and 1402 in my windowsapps directory. Thank you for that. I can run WT from the command line and it launches correctly. Although it is not treated as a GUI app. It does not return the TCC prompt until I exit Terminal. START works though.

It seems to be installed much like the store version of Office 2019. Here, TCC waits for WinWord, Excel, ... I complained about that and even posted some code that could tell that they are GUI apps. It hasn't been fixed.

What does "WHICH /A WT.EXE" say?

If I install the stable version, will it in any way interfere with the normal console?
 
Similar threads
Thread starter Title Forum Replies Date
C How to? starting TCC/TCMD v25 Support 2
vefatica Starting *.xlsm? Support 34
Steve Pitts _TCTAB when first starting Take Command Support 2
vefatica Starting Office apps Support 8
W Starting program for word to pdf conversion (difference cmd and tcc) Support 13
vefatica Starting Office 365 apps? Support 3
D WAD STARTing WUP apps Support 1
D Occasional TCMD 17 crash when starting additional TCC Support 4
D Folders pane display problem when starting Support 4
samintz Fixed DO /L with stringset starting with /n /e Support 2
C Fixed Starting editor from VIEW Support 9
M Starting Windows GUI programs from the command line... Support 10
ehab aboudaya WAD starting tcmd.exe with dir that has Boost C++ Libraries zip file delays Support 2
vefatica Starting shell objects Support 6
C starting TC/LE on the command line Support 1
C starting a shortcut from desktop Support 14
J starting in chosen directory Support 4
C starting tcmd with alternate INI file Support 15
F unexpected %1 while starting ide Support 6
T Starting a process blocks TCC window... Support 2
T Problem Starting Vim & gVIM Support 5
millardjk IDE dies without starting Support 4
S Starting TCC with double click on tab bar Support 0
vefatica Windows Terminal ... Pop-up location Support 1
Joe Caverly Windows Terminal and @SELECT Support 13
L LIST's pop-up search loses focus in a Windows Terminal window Support 15
T Windows Terminal Support 2
Joe Caverly WSL Ubuntu Terminal Support 12
T tcc /c "[...]" fails when run from third party terminal Support 11
L How can I run tcmd in terminal window only? Support 13
H Takecommand.pdf failed not a pdf file Support 6
AndrewJ TakeCommand v23 + ANSI color sequences leads to black on black text Support 6
vefatica Permanently registering TakeCommand v8.02.106? Support 17
K Unable to register TakeCommand Support 4
C "TakeCommand has stopped working" Support 3
P Access denied TakeCommand.19.0.key Support 2
nickles Move takecommand.18.0.key location to installation directory Support 4
C TakeCommand 18 Installation Failure Support 13
Phileosophos TakeCommand exits after launching TortoiseHg Workbench Support 4
mikea TakeCommand "evangelism" -- how? Support 1
Stefano Piccardi can start TakeCommand 15.01 on Windows XP Support 6
knudvaneeden cls in TakeCommand screen does not clear full screen Support 26
Vasilich Does TakeCommand support projects? Support 2
Phileosophos Fixed TakeCommand exits upon "set [" command Support 14
vefatica TakeCommand has stopped working Support 6
B Lockups with TakeCommand v12 Support 17
williamleara Can't Close TakeCommand After Adding 2nd Toolbar Tab Support 3
C TakeCommand 11 won't start Support 1
mscheuner TakeCommand no longer showing its icon in Win7 Taskbar Support 12
A TakeCommand screen width Support 1

Similar threads