Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.msdos.batch    |    Fun with MS-DOS batch files    |    42,547 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 41,059 of 42,547    |
|    foxidrive to Nick    |
|    Re: [MSDOS7] if ".echo off"==".echo off"    |
|    24 Dec 14 23:29:08    |
      From: foxidrive@server.invalid              On 24/12/2014 18:57, Nick wrote:              > IF NOT ".%INPUTCMD%"==".@ECHO OFF" GOTO:NEXTTEST       >       > I worked out it was tripping up on the string compare, that it would fail       > if any part of either string included "ECHO OFF" or "ECHO ON".              I doubt that this is the case at all.                     You can see the problem here:                     C:\>if "abc"=="abc" ver              Windows 98 [Version 4.10.2222]                     C:\>if "a c"=="abc" ver              C:\>if "abc"=="a c" ver              C:\>if "a c"=="a c" ver       Bad command or file name              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca