TC Tab parameters

May 29, 2008
How can I specify a variable (e.g. TC directory) in the Tabs specification of the TC Properties ?

Charles Dye

Super Moderator
Staff member
May 20, 2008
Albuquerque, NM
How can I specify a variable (e.g. TC directory) in the Tabs specification of the TC Properties ?

As far as I know, Take Command does not expand variables in the 'Command' and 'Directory' fields. If you use a variable in the 'Command' field, 4NT.EXE (or CMD.EXE) will expand it. If you want to use a variable for the startup directory, use a CD or CDD command in the 'Command' field.


Staff member
May 14, 2008
yakir wrote:

> How can I specify a variable (e.g. TC directory) in the Tabs
> specification of the TC Properties ?

Take Command does not expand variables in the Tab properties. (There is
almost never a reason for it, and it would cause a lot of problems when
you want to pass the %'s to the called app.)

Take Command *does* expand variables in the toolbar button definitions,
so if you really want it you can define a button.

Rex Conn
JP Software
Similar threads
Thread starter Title Forum Replies Date
D TCC tab detaching & restarting Support 3
Joe Caverly Changing the TAB key Support 10
fpefpe bash.exe as a tab Support 0
C How to? Mouse support in WSL when in Take Command Tab Support 2
P How to enable \ with tab completion Support 4
Joe Caverly DrawVLine results different in TCMD tab and detached TCC Support 11
Joe Caverly Tab from clipboard Support 6
Joe Caverly Clone a TCC Tab Support 9
R New Cloud Storage Tab in TCC options causing problems Support 0
CWBillow PowerShell tab as Admin Support 2
vefatica TYPE resets console tab settings Support 14
CWBillow TCMD PowerShell Tab elevated Support 6
CWBillow Take Command tab as PowerShell Support 3
Fross Tab Question Support 6
CWBillow TCMD Tab Defs Support 4
L WAD In console, tabs are rendered with non-uniform tab-stop spacing Support 16
Emilio III TCMD Tab titles on Insider Windows Support 2
P Run as Admin tab in non-elevated Take Command session? Support 9
CWBillow Powershell tab in TCMD? Support 2
Phileosophos Startup tab layout Support 2
M How to? How to set a default TITLE for newly opened tab? Support 2
R How to? Change TCMD tab font size in window menu Support 3
D Get tab position and size Support 6
C Running PowerShell_ISE in a Tab Support 7
D How cut in TCC tab window Support 5
C How to? run a BTM in elevated, inv tcc tab window Support 9
D Take Command tab only uses half of window Support 1
rps Tab clone problem Support 2
C MONITOR commands alter tab title when triggered Support 0
D Tab completion differences with cmd.exe Support 3
H lua Causes Take Command Tab to Exit Support 5
vefatica Tab completion? Support 4
D How to? How to show variables expanded in the log tab Support 3
I tab completion with directory commands Support 7
R Fixed v17.0.54 Tab->COMSPEC Dialog Box Issue Support 2
vefatica Fixed Crash removing toolbar tab Support 1
I v16 Spawning a PowerShell tab Support 3
Jay Sage Getting Quote Characters into a Toolbar Tab Support 12
Jay Sage "New Tab" Strangeness Support 2
rps Command Input Window tab completion broken Support 7
David Wilbanks How to make new tab open in same directory as previous tab? Support 4
tmaynard How to? Any way to run a command in a new tab at startup? Support 18
A How to? Frozen session tab with "ERROR: The file is either empty or does not contain the valid choices." Support 19
W Opening a new tab takes forever to get the command prompt Support 5
Joe Caverly VIEW window in a TCC tab window problems Support 5
B WAD tab navigation broken Support 3
D Console window titles / tab caption Support 4
Joe Caverly New Tab In TCMD Changes TCC Window Size Support 1
vefatica Fixed TCMD tab horizontal scroll bar Support 5
fpefpe How to? start command /tab option/switch Support 6

Similar threads