home bbs files messages ]

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,061 of 42,547   
   Nick to foxidrive   
   Re: [MSDOS7] if ".echo off"==".echo off"   
   24 Dec 14 11:25:22   
   
   From: nickoffsmailbox@gmail.com   
      
   On Wednesday, 24 December 2014 19:56:37 UTC+8, foxidrive  wrote:   
   > 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.   
      
   It's most definitely tripping up on the string compare somehow (if "this"   
   equals "this" should "do this" - not throw an error message) but otherwise   
   you're correct - I was presumptive in thinking the problem was that my string   
   was being misinterpreted as a command - though in my defense, understandably   
   given the wording of the error message). What is the case though is that the IF   
   statement I posted works, as I logically expect it to, on my Windows 7 system   
   and evidently doesn't on Win98SE.   
      
   --- 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