>   <pedantic> CMD.EXE is not DOS. </pedantic> 
Who said it was? :)

-----Original Message-----
From: Ben Scott [mailto:[email protected]] 
Sent: Wednesday, October 26, 2011 5:54 AM
To: NT System Admin Issues
Subject: Re: Show lines in a text file that DONT contain OK

On Wed, Oct 26, 2011 at 3:48 AM, Oliver Marshall 
<[email protected]> wrote:
> Any good DOS people here?

  <pedantic> CMD.EXE is not DOS. </pedantic>  :-)

> I want to return the number of lines within a text file that don't 
> contain OK.

FIND /V /C "OK" your_text_file.txt

-- Ben

~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ 
<http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to [email protected]
with the body: unsubscribe ntsysadmin


~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to [email protected]
with the body: unsubscribe ntsysadmin

Reply via email to