Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

compatibility

  1. jaejunks

    Done Option for case-sensitive string comparison in IF command (for CMD compatibility)

    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...
  2. C

    Nested IF syntax — TCC behaving differently to CMD

    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"...
  3. rjperrella

    TCC/LE incompatibility with CMD.exe

    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...
Back
Top