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,127 of 68,980   
   Guy to Docfxit   
   Re: Find string ?   
   07 Jan 18 15:45:21   
   
   From: guy@guysalias.tk.invalid   
      
   Docfxit wrote:   
      
   >> Docfxit wrote:   
   >>   
   >>> I currently have this line:   
   >>> type "%~dp0BootFixerTest.txt" |find /i "Windows installations: 0" >nul ||   
   goto :Done   
   >>   
   > How could I change it so it goes to Done only if the text is found?   
   >   
      
      
      
   Do the opposite:   
      
    type "%~dp0BootFixerTest.txt" | find /i "Windows installations: 0" >nul &&   
   goto :Done   
      
   --- 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