'start tcmd.exe' actually starts tcc.exe

*start "C:\Program Files\JPSoft\TCMD16x64\tcmd.exe" actually starts tcc.exe (the real command is part of a batch file and uses a '/runas …' option, I execute it in a tcc tab within a tcmd window).

I can work around (launch tcmd.exe (without 'start') from the new tcc window), but I wonder whether the behavior is expected.

TCC 16.00.41 x64. I tested after having renamed tcmd.ini and having removed aliases ('unalias *').
 
Dec 2, 2008
226
2
Canada
start's purpose is to "Start a program in another session or window", I would think TCC would be used to start "another session or window". I think you want to use the "/PGM" option on the "start" command.
 
May 20, 2008
3,515
4
Elkridge, MD, USA
Here "start path\tcmd.exe" with neither /PGM nor an empty quoted sting in START are required for tcmd to start; likewise, "start firefox" and "start iexplore" work as shown. Is there an alias issue?
 
May 20, 2008
11,404
99
Syracuse, NY, USA
Here "start path\tcmd.exe" with neither /PGM nor an empty quoted sting in START are required for tcmd to start; likewise, "start firefox" and "start iexplore" work as shown. Is there an alias issue?
I'd have to guess that your path to TCMD.EXE doesn't contain spaces, so you can get away without quotes. If it must be quoted, there will be confusion with the "title" parameter.
 
May 20, 2008
3,515
4
Elkridge, MD, USA
Vince, you are right. What I wrote was not wrong, but so irrelevant that it was misleading (no embedded spaces anywhere). START works exactly as HELP describes if you read all of the leading paragraphs, esp. the "Valid" and "Invalid" examples. cgunhouse suggests the first of the valid examples, Charles Dye the second. Unfortunately the OP matched the invalid example.
 
Thanks for the answers.

The problem showed up in a script I use only from time to time; the quotes come from the %@quote[] function; when I last installed Take Command (the IT staff replaced my computer some time ago), I chose this time the standard "C:\Program Files" rather than a custom directory — the new space in the name triggered the quotes and the resulting unexpected behavior. I didn't remind the /pgm option.
 
Similar threads
Thread starter Title Forum Replies Date
A Fixed [23.0.22]: TCMD crashes shortly after start, TCC keeps running in background Support 6
kb6ojs Want to start TCMD v20 with every Windows 10 bootup Support 3
J How to? Start TCMD with different configurations Support 3
vefatica Start TCMD with File Explorer showing? Support 2
Alpengreis WAD Each start/close of TCMD changes my Explorer setting Support 7
Alpengreis Fixed TCMD FileExplorer Start-Directory problem Support 4
vefatica WAD Latest TCMD won't start. Support 15
K_Meinhard Fixed ? TCMD 14.02 doesn't start here Support 4
R Start TCMD minimized Support 19
L Thanks from larryalk was Cannot apply Start in folder for Tcmd Support 11
L Cannot apply Start In folder for Tcmd Support 15
samintz Tcmd 9.02 won't start Support 2
C start/tab of a GUI program hangs TCMD Support 6
A TCMD takes very long to start up Support 19
J Take command does not start on Windows 10 Support 3
N for start /b anamoly Support 1
U Can not get/start Take Command gui Support 1
DrusTheAxe START /? is incomplete Support 2
S How to? Runs start /w in invisible mode OR run program after exit of another one Support 3
vefatica Start/stop screensaver from TCC? Support 12
S START with title Support 4
vefatica START at 0,0? Support 2
D START /POS versus @WINPOS and @WINSIZE Support 12
vefatica START /elevated and PcaSvc? Support 5
S incorrect message at start Cancel batch job 4START.bat ? (Y/N/A) : Support 1
vefatica START /PGM "name with spaces.URL" fails Support 2
L Peculiarities of how START launches processes Support 15
R How to? START program as top window? Support 2
Peter Murschall v24 IDE/BDEBUGGER won't start Support 9
Dmitry L. Kobyakov WAD Start /pgm "name.htm" works improperly Support 4
Joe Caverly START Dialog usage of %_ variables Support 0
vefatica START *command Support 5
Per TCC/LE 14 64-bit won't start on Windows 10 Insider Preview 17063 (171213) Support 12
A Fixed (CMD compat) START /D fails to recognize the switch option. Support 3
MikeBaas start /runas - I'd like /netonly Support 2
vefatica Start VIEW with the toolbar showing? Support 5
vefatica Documentation START /AFFINITY Support 0
B how to do in "start" command thing like in tcc.exe Support 1
J directory or folder to start in Support 2
R How to? Not have RT version show on start Support 3
D WAD START /ELEVATED "Title" /PGM "job.btm" Support 6
vefatica START /K ... Support 1
vefatica Documentation START /AFFINITY Support 5
WadeHatler Just started getting a message about Cloud Storage every time I start TCC 19 Support 3
vefatica Shortcut/start-up folder nonsense Support 20
fishman@panix.com Can I start TCC in full screen mode? Support 9
R Unable to start any BTM file from Explorer Support 5
fpefpe How to? Stange start up issue Support 1
M Start "/Elevated" failure... Support 3
vefatica START, CMD vs. TCC Support 0

Similar threads