string comparison

  1. Jesse Heines

    Done 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

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