• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

string comparison

  1. Jesse Heines

    EQ vs ==

    I am writing a batch script that reads a file of HTML code line-by-line and looks for a certain string in a certain position. After reading each line with: set t="%@fileread[%h]" I extract the portion of the line that I'm looking for with: set p=%@instr[19,15,%t] If I then compare the...
  2. jaejunks

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