For example, consider the simple code below.
if abc == ABC echo this should never match
Under CMD and even DOS' command prompt, the above condition will never be true. i.e. the default string comparison is case-sensitive. However, the default string comparison in Take Command and TCC is...
The following code comes from "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.Cmd", a Microsoft SDK batch file.
IF "x%TARGET_CPU%x"=="xx" (
IF /I "%PROCESSOR_ARCHITECTURE%"=="x86" SET "TARGET_CPU=x86" & SET "CURRENT_CPU=x86"
IF /I "%PROCESSOR_ARCHITEW6432%"=="x86" SET "TARGET_CPU=x86"...
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...