home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.msdos.batch.nt      Fun with Windows NT batch files      68,980 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 67,122 of 68,980   
   JJ to Docfxit   
   Re: Find string ?   
   08 Jan 18 01:14:02   
   
   From: jj4public@vfemail.net   
      
   On Sat, 6 Jan 2018 08:51:09 -0800 (PST), Docfxit wrote:   
   > I currently have this line:   
   > type "%~dp0BootFixerTest.txt" |find /i "Windows installations: 0" >nul ||   
   goto :Done   
   >   
   > It's not working correctly.   
   > I believe it's currently going to :Done   
   > Because "Windows installations: 0" is not in the file I don't want it to go   
   to :Done.   
   [snip]   
      
   If the text is not found, the execution will jump to the :Done label.   
   Otherwise it continues to the next line.   
      
   --- 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