EXIT hangs

May 31, 2008
This script hangs the console window upon exiting. Tested with TCC and TCCLE.
goto EXEC
"%_cmdspec" /I
exit %?
Saved as c:\temp\jj.btm
C:\temp>*start "v:\bin\TCCLE\tcc.exe" /I

TCC LE  13.00.24   Windows XP [Version 5.1.2600]
Copyright 2011 JP Software Inc.  All Rights Reserved

goto EXEC

TCC LE  13.00.24   Windows XP [Version 5.1.2600]
Copyright 2011 JP Software Inc.  All Rights Reserved

The console window hangs...
May 20, 2008
Syracuse, NY, USA
On Thu, 13 Oct 2011 11:29:10 -0400, Stefano Piccardi <>

|goto EXEC
|"%_cmdspec" /I
|exit %?

Works OK with TCC here. Do you realize that the original TCC will wait for the
second one to terminate before executing the batch file's "exit"?
Similar threads
Thread starter Title Forum Replies Date
S How to? Runs start /w in invisible mode OR run program after exit of another one Support 3
vefatica ON EXIT? Support 8
P exit /b in batch files Support 7
rps Reboot and exit reason Support 10
vefatica Exit code of a batch file? Support 4
H lua Causes Take Command Tab to Exit Support 5
Stefano Piccardi MKLNK exit status Support 9
ed neff How to? exit TCC/Take Command to a new directory Support 10
M Why is the exit code zero? Support 6
SeoulBigChris Save Environment (Tabs) on Exit? Support 3
R TC 13 / Using TCDIALOG to exit commands Support 4
M Not real important but kind of annoying EXIT issue... Support 20
lassevk exit(1) in a python script exits console, by design or bug? Support 1
cgunhouse IDE Crashes on Exit Support 6
J tcmd.exe/tcc.exe appcrash on exit Support 4
J History file load hangs if file has complete garbage in it... Support 1
samintz CDD to non-existent directory hangs Support 2
D ffind hangs on large file Support 18
D ffind /e hangs Support 7
krischik Take Command opens with (almost) white screen and then hangs Support 3
A v25.00.10 hangs when returning %_ipdnsserver Support 7
A After update to 24.02.49, helpfile tcmd.chm hangs when opened Support 0
vefatica gcd() ... wrong answer, lcm() hangs Support 5
rps Unalias * hangs TCC session Support 2
C TCMD/TCC hangs Support 0
samintz WAD tcc /c hangs Support 2
Phileosophos Fixed Option Dialog Hangs when Using Help Support 7
S Fixed Stand-alone TCC 14.02.43 hangs before TCSTART Support 3
I DIR command combo that hangs with high CPU % Support 8
D start /tab hangs Support 32
C cdd /T . hangs tcc.exe Support 2
Patulus TCC 11.00.39 hangs on startup Support 5
C start/tab of a GUI program hangs TCMD Support 6

Similar threads