Hey it's only taken me 9 years to answer but better late than never!
Running the following version:
CMD.exe on Microsoft Windows [Version 10.0.14393]
TCC LE 14.00.9 x64 Windows 10 [Version 6.3.14393]
I put these four statements in a batch file called if_test.bat.
IF DEFINED PATH(ECHO 1)...
Thanks for looking into this.
The key seems to be whether I'm running a batch script or an EXE. If it is an EXE, it never has the problem.
I tried this again today (2/14/2015) with TCMD17 "32-bit" and the problem did not occur! (2/8/2015 build) I tried repeatedly to make it fail and...
Ok I've done a bit more testing. It appears that .EXE files run just fine in the other tab. I've run Digital Mars C++, Perl, Far Manager, and all work fine. The problem seems to be limited to batch files. Also, it works fine from the command line - I can execute each line of my script and it...
Ok, here's a shorter version you can run yourself to see the problem.
create a batch file called donothing.bat
echo doing nothing
then run it in a tab:
start "donothing" /tab donothing.bat
I get a window that is all black and shows nothing. it just hangs. The windows...
I'm running one
START /TABNA after another in a batch script in order to setup my preferred development environment (which is take command of course!)
I'm using TakeCommand V15 64 bit but I tested this under several versions - it seems to have the same issue.
It looks like this:
Hi, I found a minor incompatibility with TCC vs CMD.exe.
If you have an IF statement such as:
if defined var JAVA_HOME(
This gives an error in TCC but not in CMD. The solution is to add a space prior to the open paren. This works in both CMD and TCC. Basically, it sounds like a parser...